- Posts: 43
- Thank you received: 0
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 Solved - Remove Tabs & Move Search to Profile Box
15 years 11 months ago - 15 years 10 months ago #49084
by TBC
Solved - Remove Tabs & Move Search to Profile Box was created by TBC
I searched a bit but didn't find a reference to removing the tabs and not the profile box. I would like to remove the tabbed menu: Recent Discussions, My Discussions, Categories entirely and move the search box to the right side of the profile box (opposite the avatar)
TIA/TBC
TIA/TBC
Last edit: 15 years 10 months ago by TBC.
Please Log in or Create an account to join the conversation.
15 years 11 months ago #49096
by TBC
Replied by TBC on topic Re: Remove Tabs & Move Search to Profile Box
Got rid of the tabs and the search box in the fb_layout page but can't seem to locate the collapse/expand piece in the code. Any assistance would be appreciated. I was thinking that I could just disable the feature in the control panel but I'm not seeing it.
Want to keep the profile box in an expanded state and remove the - icon to remove that space above the forum.
Want to keep the profile box in an expanded state and remove the - icon to remove that space above the forum.
Please Log in or Create an account to join the conversation.
15 years 11 months ago #49110
by Cerberus
Replied by Cerberus on topic Re: Remove Tabs & Move Search to Profile Box
its in the fb_layout file next line down from bit u have already removed if i remember correctly.
Please Log in or Create an account to join the conversation.
15 years 11 months ago #49120
by TBC
Replied by TBC on topic Re: Remove Tabs & Move Search to Profile Box
The only thing that I'm trying to get rid of, at this point, is the - + icon to expand/contract the profile box (need to leave it as expanded). Here's what's left of that portion of my fb_layout page but I'm not seeing it.
Code:
function KUNENA_get_menu($cbitemid, $fbConfig, $fbIcons, $my_id, $type, $view = "", $catid = 0, $id = 0, $thread = 0, $is_moderator = false, $numPending = 0)
{
$func = strtolower(JRequest::getCmd('func', ''));
if ($func == '') // Set default as per config settings
{
switch ($fbConfig->fbdefaultpage)
{
case 'recent':
$func = 'latest';
break;
case 'my':
$func = $my_id ? 'mylatest' : 'latest';
break;
default:
$func = 'listcat';
}
}
$header = '<div id="fb_topmenu" ><div id="Kunena_tab"><ul>';
if ($my_id != 0)
{
}
if ($my_id != 0)
{
}
switch ($type)
{
case 3:
//Threaded view option removed from Kunena
// if ($view == "flat") {
// $header .= '<li>';
// $header .= CKunenaLink::GetViewLink('view', $id, $catid, 'threaded', '<span>'. _GEN_THREADED_VIEW .'</span>');
// $header .= '</li>';
// }
// else
// {
// $header .= '<li>';
// $header .= CKunenaLink::GetViewLink('view', $id, $catid, 'flat', '<span>'. _GEN_FLAT_VIEW .'</span>');
// $header .= '</li>';
// }
break;
case 2:
//Threaded view option removed from Kunena
// if ($view == "flat")
// {
// $header .= '<li>';
// $header .= CKunenaLink::GetViewLink('showcat', $id, $catid, 'threaded', '<span>'. _GEN_THREADED_VIEW .'</span>');
// $header .= '</li>';
// }
// else
// {
// $header .= '<li>';
// $header .= CKunenaLink::GetViewLink('showcat', $id, $catid, 'flat', '<span>'. _GEN_FLAT_VIEW .'</span>');
// $header .= '</li>';
// }
if ($is_moderator)
{
if ($numPending > 0)
{
$numcolor = '<font color="red">';
$header .= '<li>';
$header .= CKunenaLink::GetPendingMessagesLink( $catid, '<span>'.(array_key_exists('pendingmessages', $fbIcons)
? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['pendingmessages'] . '" border="0" alt="' . $numPending . ' ' . _SHOWCAT_PENDING . '" />' : $numcolor . '' . $numPending . '</font> ' . _SHOWCAT_PENDING).'</span>');
$header .= '</li>';
}
}
break;
case 1:
default:
break;
}
if ($fbConfig->enablerulespage)
{
$header .= ' <li ';
if ($func == 'rules' ) $header .= ' class="Kunena_item_active" ';
$header .= ' >'.CKunenaLink::GetRulesLink($fbConfig, '<span>'.(array_key_exists('rules', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['rules'] . '" border="0" alt="' . _GEN_RULES . '" title="' . _GEN_RULES . '"/>' : _GEN_RULES).'</span>');
$header .= '</li>';
}
if ($fbConfig->enablehelppage)
{
$header .= ' <li ';
if ($func == 'faq' ) $header .= ' class="Kunena_item_active" ';
$header .= ' >'.CKunenaLink::GetHelpLink($fbConfig, '<span>'.(array_key_exists('help', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['help'] . '" border="0" alt="' . _GEN_HELP . '" title="' . _GEN_HELP . '"/>' : _GEN_HELP).'</span>');
$header .= '</li>';
}
$header .= '</ul></div></div>';
return $header;
}
function getSearchBox()
{
}
Please Log in or Create an account to join the conversation.
15 years 10 months ago #49702
by TBC
Replied by TBC on topic Re: Remove Tabs & Move Search to Profile Box
Any ideas on how to get rid of the -/+ (collapse and expand icon) next to the search box?
Please Log in or Create an account to join the conversation.
15 years 10 months ago #49706
by ugur
Replied by ugur on topic Re: Remove Tabs & Move Search to Profile Box
Please Log in or Create an account to join the conversation.
Time to create page: 0.217 seconds