Hello,
The search function at https://facerig.com/index.php?option=com_chronoforums&view=board&Itemid=141 was not working - redirecting to homepage. If I go on a thread, the search is working and I found out that the difference is that the global search is using get and the thread search is using post. So I manually changed in chronoforums/helpers/elements.php line 88 the form method and now it works.
What would be the right approach to fix this?
Regards,
Simon.
The search function at https://facerig.com/index.php?option=com_chronoforums&view=board&Itemid=141 was not working - redirecting to homepage. If I go on a thread, the search is working and I found out that the difference is that the global search is using get and the thread search is using post. So I manually changed in chronoforums/helpers/elements.php line 88 the form method and now it works.
What would be the right approach to fix this?
Regards,
Simon.
Just a small additional remark, the problem with the get method was that the following parameter disappeared from the url: option=com_chronoforums.
Hi Simon,
Event if "option=com_chronoforums" doesn't exist, the "Itemid=141" should be enough since it points to a menu item which has the information needed to point the page to Chronoforums.
You can test our forums here or the demo site, it works fine!
Regards,
Max
Event if "option=com_chronoforums" doesn't exist, the "Itemid=141" should be enough since it points to a menu item which has the information needed to point the page to Chronoforums.
You can test our forums here or the demo site, it works fine!
Regards,
Max
Hi Max,
If I switch back to the get method in the form, the GET request sent by the form is the following:
https://facerig.com/index.php?t=623&keywords=vasileee&search_posts=
It doesn't contain either the option or the ItemId parameters.
Regards,
Simon.
If I switch back to the get method in the form, the GET request sent by the form is the following:
https://facerig.com/index.php?t=623&keywords=vasileee&search_posts=
It doesn't contain either the option or the ItemId parameters.
Regards,
Simon.
Hi Simon,
Thanks, yes, I agree, the option parameter is missing when you test this without SEF, and the best solution is to change the form method of the search to "post" instead of "get".
Thanks again for this fix!🙂
Max
Thanks, yes, I agree, the option parameter is missing when you test this without SEF, and the best solution is to change the form method of the search to "post" instead of "get".
Thanks again for this fix!🙂
Max
This topic is locked and no more replies can be posted.