×
Kunena 6.0.3 released (22 Sep 2022)

The Kunena team has announce the arrival of Kunena 6.0.3 [K 6.0.3] which is now available for download as a native Joomla extension for J! 4.2.x. This version addresses most of the issues that were discovered in K 6.0.2 and issues discovered during the last development stages of K 6.0

× If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

K 2.0 support will cease on 31 August 2013 and this section of the forum will be closed and archived after that time and no further questions will be answered about this version.

Idea How to: Change default search options on Kunena 2.0+

More
9 years 7 months ago #1 by fsoares
All default search options for Kunena 2.0+ series still hard coded and are defined on file "search.php" at folder "components/com_kunena/models".

So, for example, to change default search option "Find Posts from" from "A year ago" to "Any date", edit the file "search.php" and change around line 49:
From:
$value = JRequest::getString ( 'searchdate', 365 );

To:
$value = JRequest::getString ( 'searchdate', 'all' );


(PS: For reference, the same change on Kunena 1.6/1.7 can be found at Change default search option )

Fernando Soares - Mantendo sua Tecnologia
Hospedagem Joomla e VirtueMart Hosting
twitter.com/fernando_soares
www.fernandosoares.com.br
The following user(s) said Thank You: Taz_1999

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.057 seconds