Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question Adding "Advanced Search" on fblayout

More
16 years 8 months ago - 16 years 8 months ago #27239 by deso
I'm replacing the My Profile stuff with Advanced Search. Having Community Builder, the profilebox thingy is a bit redundant so I had to erase it. Now, I'd love to add a Advanced Search option on one of the tabs. At first I though that replacing this:
Code:
if ($my_id != 0) { $header .= ' <li '; if ($func == 'myprofile' ) $header .= ' class="Kunena_item_active" '; $header .=' >'.CKunenaLink::GetMyProfileLink($fbConfig, $my_id, '<span>'.(array_key_exists('profile', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['profile'] . '" border="0" alt="' . _GEN_MYPROFILE . '" title="' . _GEN_MYPROFILE . '"/>' : _GEN_MYPROFILE).'</span>'); $header .= '</li>'; }

With this:
Code:
if ($my_id != 0) { $header .= ' <li '; if ($func == 'search' ) $header .= ' class="Kunena_item_active" '; $header .=' >'.CKunenaLink::GetSearchLink('<span>'.(array_key_exists('search', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['search'] . '" border="0" alt="' . _KUNENA_SEARCH_ADVSEARCH . '" title="' . _KUNENA_SEARCH_ADVSEARCH . '"/>' : _KUNENA_SEARCH_ADVSEARCH).'</span>'); $header .= '</li>'; }

Would change it to Advanced Search, but it only displays the following errors:

Warning: Missing argument 2 for CKunenaLink::GetSearchLink(), called in /home/dik45n/public_html/components/com_kunena/template/tdi/fb_layout.php on line 212 and defined in /home/dik45n/public_html/components/com_kunena/lib/kunena.link.class.php on line 294

Warning: Missing argument 3 for CKunenaLink::GetSearchLink(), called in /home/dik45n/public_html/components/com_kunena/template/tdi/fb_layout.php on line 212 and defined in /home/dik45n/public_html/components/com_kunena/lib/kunena.link.class.php on line 294

Warning: Missing argument 4 for CKunenaLink::GetSearchLink(), called in /home/dik45n/public_html/components/com_kunena/template/tdi/fb_layout.php on line 212 and defined in /home/dik45n/public_html/components/com_kunena/lib/kunena.link.class.php on line 294

Warning: Missing argument 5 for CKunenaLink::GetSearchLink(), called in /home/dik45n/public_html/components/com_kunena/template/tdi/fb_layout.php on line 212 and defined in /home/dik45n/public_html/components/com_kunena/lib/kunena.link.class.php on line 294

Warning: Missing argument 6 for CKunenaLink::GetSearchLink(), called in /home/dik45n/public_html/components/com_kunena/template/tdi/fb_layout.php on line 212 and defined in /home/dik45n/public_html/components/com_kunena/lib/kunena.link.class.php on line 294

Maybe it's creating a conflict with the other search function?

Any help is appreciated, and thanks in advance! =]
Last edit: 16 years 8 months ago by deso.

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

Time to create page: 0.283 seconds