e107help.org Q&A
0 like 0 dislike

We have created several plugins on our website for maintaining and displaying data for various categories for a music related website.

We have categories such as Record Labels, Artist Managers etc but none of them appear in search results on the website main search.

I would like to add the information contained in the plugin database tables to the search, I know that I'll probably need an e_search.php file in the plugin folder, but I am stuck on how it should be written, effectively I just want to add the plugin tables to the search.

Any help would be very much appreciated, I haven't just come here and asked without already trying to find a solution multiple times.
e107 version Version 2.2.1
in Plugins by (9 points) 2 5
closed by
Did you check the e_search.php example in the _blank plugin folder?

1 Answer

0 like 0 dislike
Best answer

You indeed need the e_search addon. There is an example in the _blank plugin. 

To give you more help on how to write the file, we need more information about the database structure of your plugin, and also about the information that you want to display. In order to figure this out, it's best to find us in the Gitter chatroom (https://gitter.im/e107inc/e107) so we can help you out real-time.

by (2.7k points) 7 10 10
selected by
Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
925 questions
1,326 answers
2,296 users