Hi David,
I got help from JEvents:
www.jevents.net/forum/viewtopic.php?f=26...326&p=139841#p139841
If you can't see that link:
Re: Problem with JEvents and RokAjaxSearch
Postby Geraint ยป Fri Oct 31, 2014 1:06 pm
The problem is RokAjaxSearch calls the plugin from a URL with &tmpl=component in it so JEvents righty assumes that this request is coming from a popup window.
I have a workaround - change line c.240 of componemts/com_jevents/libraries/jicaleventrepeat.php from
if (JRequest::getCmd("tmpl", "") == "component" && JRequest::getCmd('task', 'selectfunction') != 'icalevent.select' && JRequest::getCmd("option", "") != "com_acymailing" && JRequest::getCmd("option", "") != "com_jnews" && JRequest::getCmd("jevtask", "") != "crawler.listevents")
to
if (JRequest::getCmd("tmpl", "") == "component" && JRequest::getCmd('task', 'selectfunction') != 'icalevent.select' && JRequest::getCmd("option", "") != "com_acymailing" && JRequest::getCmd("option", "") != "com_jnews" && JRequest::getCmd("option", "") != "com_search" && JRequest::getCmd("jevtask", "") != "crawler.listevents")
Changing the code solved the problem. The event pages are now opend as they should. But the search link in "Search page URL." was and is still set to "index.php?option=com_search&view=search". So it seems that the module produces the worng request (as Geraint found out) somewhere else.
Do you want to look in that again and change the module? If yes I could bring JEvents back to standard, otherwise I need to change that code on every update they do.
Quite interesting that no one else reported this problem before.
Thanks,
Thomas