|
#1
|
|||
|
|||
|
Hi guys, fairly newbie here (1 month old ! )
I am using the following template http://joomla.siteground.com/index.p...=siteground99# My website is www.just4ubirmingham.com I would like to have 2 , linked , changes to the template. I hope somebody can help. I would like to have more 'menu tabs' , that is the tabs across the top of the page from left to right , and have no menu down the left hand side of the page. It currently has 5 tabs, but I cant work out how to add more ? It does seem to be linked to the 'main menu' , as every time I change the items on there, it is reflected in the tab descriptions as well i.e the first 5 items on the Main menu are displayed on the tabs. However, no matter how many items are on the main menu, I only see 5 tabs. I thought the tabs may be controlled by the 'top menu' , but the options in there don’t correspond at all to what's displayed on the screen. I have found that if I unpublish all the items on the Main Menu , then the menu box on the left does go, but that in turn is deleting the tab displays across the page as well ! Mambo version 6.2 Any help much appreciated. |
|
#2
|
||||
|
||||
|
Hello Mr Benn,
If you do not want to have the main menu displayed at the left column of your Mambo, you can unpublish the menu from the "Modules -> Site Modules" section in the back-end. As for having more than 5 items displayed on the horizontal top menu, you have to alter the following file: <your Mambo directory>/templates/siteground99/menu.php On line 9 in this file you should see the following query: $qry = "SELECT id, name, link FROM #__menu WHERE menutype='mainmenu' and parent='0' AND access<='$gid' AND sublevel='0' AND published='1' ORDER BY ordering LIMIT 5"; Change the "LIMIT 5" at the end of that line to "LIMIT 10" for example (in order to display 10 items), which would make the line as follows: $qry = "SELECT id, name, link FROM #__menu WHERE menutype='mainmenu' and parent='0' AND access<='$gid' AND sublevel='0' AND published='1' ORDER BY ordering LIMIT 10";
__________________
Best Regards, Niko SiteGround Technical Support Team Join us on Facebook Follow us on Twitter Web Hosting Suitable for You! |
|
#3
|
|||
|
|||
|
Hi Niko.
I have managed to get more menu tabs working. Thanks I will try the unplish on the main menu later Thanks for your help |
|
#4
|
||||
|
||||
|
I'm glad to hear the solution worked
__________________
Val SiteGround Technical Support Team Join us on Facebook Follow us on Twitter Web Hosting Suitable for You |
|
#5
|
|||
|
|||
|
I have tried unpublishing the main menu as you suggested via the module manager - it still has the effect of giving an error on the front page :
The page you are trying to access does not exist. Please select a page from the main menu. This is from page404.php And it doesnt display the 'item' I have attributed to the 'front page'. Its as if it has some link embedded in it ? And just a reminder, if I then click on the 'home' menu option, the page displays okay. |
|
#6
|
|||
|
|||
|
Well , not sure how ,, but a combination of unpublishing items , seems to have resolved the issue.
Thanks. |
|
#7
|
||||
|
||||
|
Hello Mr Benn,
I am glad that you have managed to resolve the problem and your website is working as expected.
__________________
Best Regards, Niko SiteGround Technical Support Team Join us on Facebook Follow us on Twitter Web Hosting Suitable for You! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| browser tabs | Scottinsitka | Other Topics | 2 | 10-22-2009 04:33 AM |
| Top menu looks not ok | Pollekeq | Mambo and Joomla Forum | 4 | 06-16-2009 06:08 AM |
| Menu links not consistent on Left vs Top menu? | jtzako | Mambo and Joomla Forum | 1 | 07-11-2008 11:38 AM |
| Menu | almooj | Free Joomla Templates | 1 | 06-24-2008 04:05 AM |
| how can we have a tree menu like dhtml tree XP menu in Joomla | kumaresh | Mambo and Joomla Forum | 1 | 06-01-2007 03:53 AM |