help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Searching results included JEM

Searching results included JEM

5 years 9 months ago
#25812
The website www.franciscus-parochie.nl has a search-module at the homepage. At the result page one can specify the search possibilities (see printscreen in Dutch). After ‘Zoek alleen in’ I would like to skip the last two items ‘locaties’ and ‘agenda categorieën’. So I only want the choices ‘Artikelen’ and ‘Agenda’.
My question is: where do I do this? And what changes di I make?

Attachments:

Please Log in or Create an account to join the conversation.

Re: Searching results included JEM

5 years 9 months ago
#25813
As far as I can see you have to modify a JEM core file:

in the file jem.php in
Code:
/plugins/search/jem/jem.php
you have to delete the line 22 and 23.

here you see the original line 21-24
Code:
protected static $_areas = array('jemevents' => 'PLG_JEM_SEARCH_EVENTS', 'jemvenues' => 'PLG_JEM_SEARCH_VENUES', 'jemcategories' => 'PLG_JEM_SEARCH_JEM_CATEGORIES' );
Delete the lines
Code:
'jemvenues' => 'PLG_JEM_SEARCH_VENUES', 'jemcategories' => 'PLG_JEM_SEARCH_JEM_CATEGORIES'
an you get:
Code:
protected static $_areas = array('jemevents' => 'PLG_JEM_SEARCH_EVENTS' );
I think it will work, but remember: after every update of JEM you'll have to modify the the newly installed file again.
The following user(s) said Thank You: jojo12, wesselsjan

Please Log in or Create an account to join the conversation.

Re: Searching results included JEM

5 years 8 months ago
#25835
Indeed, this works as I want.
Thanks.

Please Log in or Create an account to join the conversation.

Time to create page: 0.540 seconds