8 years ago
3
Topic

hi,

I'm using the SD Live CCK plugin to pass "art_title" to a list_and_search module.

I want it to list other articles that contain words from the title of the selected article content.

Problem is, it is choosing partial words as a suitable match - for example the title "this is a test" returns "Latest news" ( because it contains the word 'test' )


I also don't want to search for words like "in", "the", "it" etc - is there a way to strip those out?


thanks

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
2
Level 1

Select "any words exact" as your matching, then click on + and set

Comparison Rule: Quoted

Comparison Mode: Multiple

I'm afraid there is no option to remove "in", "the", "it", I made a pull to add beforeSearch event using which this could be solved in 2014

https://github.com/Octopoos/SEBLOD/pull/19

8 years ago
1
Level 2

Hi Klas,

Great - I hadn't spotted the '+'  That works a treat!

With regards to manipulating the search string, how would I call the beforesearch event? 

Do I need this plugin? http://www.seblod.com/store/extensions/1854


regards

David



4229 Posts
Kadministrator
8 years ago
0
Level 3

Unfortunatelly there is no beforeSearch yet so also there is no plugin for it, you would need to make one by yourself.

Get a Book for SEBLOD