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
- wesselsjan
- Topic Author
- Offline
- Senior Member
- Posts: 43
- Thanks: 6
Searching results included JEM
5 years 9 months ago
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?
My question is: where do I do this? And what changes di I make?
Please Log in or Create an account to join the conversation.
Re: Searching results included JEM
5 years 9 months ago
As far as I can see you have to modify a JEM core file:
in the file jem.php in
you have to delete the line 22 and 23.
here you see the original line 21-24
Delete the lines
an you get:
I think it will work, but remember: after every update of JEM you'll have to modify the the newly installed file again.
in the file jem.php in
Code:
/plugins/search/jem/jem.php
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'
);
Code:
'jemvenues' => 'PLG_JEM_SEARCH_VENUES',
'jemcategories' => 'PLG_JEM_SEARCH_JEM_CATEGORIES'
Code:
protected static $_areas = array('jemevents' => 'PLG_JEM_SEARCH_EVENTS'
);
The following user(s) said Thank You: jojo12, wesselsjan
Please Log in or Create an account to join the conversation.
- wesselsjan
- Topic Author
- Offline
- Senior Member
- Posts: 43
- Thanks: 6
Re: Searching results included JEM
5 years 8 months ago
Indeed, this works as I want.
Thanks.
Thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.540 seconds