We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Get similar entries plugin

Development and Programming

Yuri's avatar
Yuri
273 posts
16 years ago
Yuri's avatar Yuri

On a single-entry page, it is nice when you can display links to ‘similar entries’. For example, I have a catalogue of cars for sale and when a uses views the car’s page I want to show him links to several cars of the same type sold for the same price. To achieve this, you can filter (search) entries by custom field or use categories. However, both methods have limitations. So I wrote a plugin called “Similar Entries”

You call it providing an entry_id and a list of fields by which you’d like to find similar entries (in my case, that will be price and type). And it will display entries which are similar (not exactly fitting). You can provide both strings and numbers (with +- range to search). The plugin respects categories as well, but if it can’t find similar entries in your category - it will seach in others/

Please find detailed usage instuction on the plugin page at your EE installation.

The plugin currently does not use title to find similar entries - only the custom fields (and categories).

       
Tony Gurnick's avatar
Tony Gurnick
94 posts
16 years ago
Tony Gurnick's avatar Tony Gurnick

hi.

Im not sure if this is a bug or not but if the fields you search are blank it counts them as similar - or seems to.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.