- Posts: 2
- Thank you received: 0
Kunena 7.0.3 Released
The Kunena team has announce the arrival of Kunena 7.0.3 [K 7.0.3] 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
Please read
Before you ask for help with template issues ...
Question How to change Tabs order
- foxmulder90
-
Topic Author
- Offline
- New Member
-
Less
More
16 years 1 month ago - 16 years 1 month ago #40583
by foxmulder90
How to change Tabs order was created by foxmulder90
Hi!
I wonder how I can edit the tab-menu order, I would like categories to be to left and then all the other tabs.
PS, I have read about it but it didnt say much and nothing about how you'll do to change it? I know I will have to edit fb_layout.php but thats it
Thanks in advance!
Best regards
Jonathan P
I wonder how I can edit the tab-menu order, I would like categories to be to left and then all the other tabs.
PS, I have read about it but it didnt say much and nothing about how you'll do to change it? I know I will have to edit fb_layout.php but thats it

Thanks in advance!
Best regards
Jonathan P
Last edit: 16 years 1 month ago by sozzled. Reason: Change topic subject for relevance
Please Log in or Create an account to join the conversation.
16 years 1 month ago #40586
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:Edit the tab-menu order - Have read about it but cant change/find anything? - How to?
Hello,
for change tab order just change the place of things between <li></li>, by example for categories link, place their part of code, you can the same thing for the other part of code :
just after that, if you want to see this tab in first :
for change tab order just change the place of things between <li></li>, by example for categories link, place their part of code, you can the same thing for the other part of code :
Code:
$header .= '<li ';
if ($func == 'listcat' ) $header .= ' class="Kunena_item_active" ';
$header .=' >'.CKunenaLink::GetCategoryListLink('<span>'.(array_key_exists('home', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['home'] . '" border="0" alt="' . _KUNENA_CATEGORIES . '" title="' . _KUNENA_CATEGORIES . '" />' : _KUNENA_CATEGORIES).'</span>');
$header .= '</li>';
just after that, if you want to see this tab in first :
Code:
$header = '<div id="fb_topmenu" ><div id="Kunena_tab"><ul>';
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
- foxmulder90
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
16 years 1 month ago #40588
by foxmulder90
Replied by foxmulder90 on topic Re:Edit the tab-menu order - Have read about it but cant change/find anything? - How to?
Thank you!
It was just to put the categories-code in first, stupid me
Best regards
Jonathan P
It was just to put the categories-code in first, stupid me

Best regards
Jonathan P
Please Log in or Create an account to join the conversation.
16 years 1 month ago - 16 years 1 month ago #40593
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re:Edit the tab-menu order - Have read about it but cant change/find anything? - How to?
Thank you, xillibit.
I started to write about this a few hours ago but I got sidetracked. :pinch:
Yes, we've written about this many times. Although the solution is fairly straightforward - well, it's straightforward if you have any understanding of PHP - the solution requires modifying the Kunena source code. Because of this, it would probably be better in future for these kinds of questions to be dealt with in the Hacks, Tips and Tricks category?
These discussion topics explain the principle - they don't necessarily give you the solution; that's for you to develop yourself:
Yes, we've written about this many times. Although the solution is fairly straightforward - well, it's straightforward if you have any understanding of PHP - the solution requires modifying the Kunena source code. Because of this, it would probably be better in future for these kinds of questions to be dealt with in the Hacks, Tips and Tricks category?
These discussion topics explain the principle - they don't necessarily give you the solution; that's for you to develop yourself:
- Tab Menu Edit
- Editing & Reorganizing Menu Items
- Removing Menu Tabs
- Adding a tab?
- Add custom tab buttons
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 16 years 1 month ago by sozzled.
Please Log in or Create an account to join the conversation.
16 years 1 month ago - 16 years 1 month ago #40615
by Maccro
Replied by Maccro on topic [Tutorial] How to change Tabs order ?
Hello everybody,
I tried to find some tutorials about tab management in Kunena. I didn't find anything, so I tried to change it directly through Dreamweaver.
Here is the solution :
In my case, I wanted to put Categories Tab in first position.
EDIT : You have to modify the file fb_layout.php (in /components/com_kunena/template/default_ex)
Step 1 : Find this code :
Step 2 : Cut this code.
Step 3 : Paste this code after this :
For other tabs, just follow the same steps.
If you want to delete Catagories tab for example, just delete the first code.
I hope it will help you !
Mickael
I tried to find some tutorials about tab management in Kunena. I didn't find anything, so I tried to change it directly through Dreamweaver.
Here is the solution :
In my case, I wanted to put Categories Tab in first position.
EDIT : You have to modify the file fb_layout.php (in /components/com_kunena/template/default_ex)
Step 1 : Find this code :
Code:
$header .= '<li ';
if ($func == 'listcat' ) $header .= ' class="Kunena_item_active" ';
$header .=' >'.CKunenaLink::GetCategoryListLink('<span>'.(array_key_exists('home', $fbIcons) ? '<img src="' . KUNENA_URLICONSPATH . $fbIcons['home'] . '" border="0" alt="' . _KUNENA_CATEGORIES . '" title="' . _KUNENA_CATEGORIES . '" />' : _KUNENA_CATEGORIES).'</span>');
$header .= '</li>';
if ($my_id != 0)
{
Step 2 : Cut this code.
Step 3 : Paste this code after this :
Code:
$header = '<div id="fb_topmenu" ><div id="Kunena_tab"><ul>';
For other tabs, just follow the same steps.
If you want to delete Catagories tab for example, just delete the first code.
I hope it will help you !
Mickael
Last edit: 16 years 1 month ago by Maccro.
Please Log in or Create an account to join the conversation.
- BeTheDance
-
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 0
16 years 1 day ago #45081
by BeTheDance
Replied by BeTheDance on topic Re: [Tutorial] How to change Tabs order ?
Great! Thanks much.
Please Log in or Create an account to join the conversation.
Time to create page: 0.240 seconds