Realize both of search with possibility of switch between each others

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
super.user
Registered User
Posts: 50
Joined: Tue Feb 14, 2017 1:22 pm

Realize both of search with possibility of switch between each others

Post by super.user »

In my case it should be possibility disable full-text search programmatically and use only own custom search. On the other hand full-text search should be enabled for some cases.

I used

core.search_backend_search_after
event for second case when there should be both of search(custom and full-text) But other events do not solve the problem with first case when there should be only custom search. Even if they help me to solve a part of problem there appeares another one

core.search_get_posts_data
Using event above i can modify sql query but can't modify count of results and users get wrong number of founded posts.

How can I realize both of search with possibility of switch between each others???
For the 2d animated cartoons!!! and web. Of course web :D

Post Reply

Return to “Extension Writers Discussion”