Kunena 6.2.6 released

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

Question Search link in Tab not working when using fb_layout.php

More
13 years 6 months ago #1 by Bikerznet
I am trying to add a tab to search using fb_layout.php!

I have added the following code to the file and uploaded it but the tab does not show?

code:

$header .= ' <li ';
if ($func == 'search' ) $header .= ' class="Kunena_item_active" ';
$header .=' >'.CKunenaLink::GetSearchLink('<span>'.(array_key_exists('search', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons . '" border="0" alt="' . _KUNENA_SEARCH_ADVSEARCH . '" title="' ._KUNENA_SEARCH_ADVSEARCH . '"/>' : _KUNENA_SEARCH_ADVSEARCH).'</span>');
$header .= '</li>';

Any ideas why the tab is not showing?

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

More
13 years 6 months ago #2 by Bikerznet
Sorted!!!

Coding that I found was incorrect should of been

code:

$header .= '<li ';
if ($func == 'search' ) $header .= ' class="Kunena_item_active" ';
$header .=' >'.CKunenaLink::GetSearchLink($fbConfig, 'search', '', 0, 0,'<span>'.(array_key_exists('search', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . '' . $fbIcons . '" border="0" alt="' . _KUNENA_SEARCH_ADVSEARCH . '" title="' . _KUNENA_SEARCH_ADVSEARCH . '"/>' : _KUNENA_SEARCH_ADVSEARCH).'</span>');
$header .= '</li>';

this works has required.

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

Time to create page: 0.316 seconds