Forums

Forum search redirects to home

duduica 30 Sep, 2014
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.
duduica 30 Sep, 2014
Just a small additional remark, the problem with the get method was that the following parameter disappeared from the url: option=com_chronoforums.
Max_admin 30 Sep, 2014
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
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
duduica 08 Oct, 2014
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.
Max_admin 08 Oct, 2014
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
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.