PDA

View Full Version : siteground-j15-48 Top Menu not displayed



P0RSCH3
12-31-2008, 06:29 AM
Hi,
I have joomla 1.5 on localhost, vista business and firefox or IE7 and am trying to upgrade my template from the v1.0 siteground 84 template which displays its topnavi menu OK (only after hours of searching and finding I needed to add:
AND access<='$gid' AND sublevel='0' AND published='1' ORDER BY ordering LIMIT 10";
to menu.php)
Now I have switched to the new j15-48 template and I am back to square one no topnavi or pillmenu displayed.
I have read a lot of posts but am none the wiser, my j15-48 template index.php:
</div>
<div id="header_bottom"></div>
<div class="pill_m">
<div id="pillmenu">
<jdoc:include type="modules" name="user3" />
</div>
In joola 1.5 Control Panel-extensions-module manager I only see mainmenu. There is no apparent setting relating to top menu.

P0RSCH3
01-02-2009, 08:24 AM
edited the templatedetails.xml file to define the user3 position
<positions>
<position>breadcrumb</position>
<position>left</position>
<position>right</position>
<position>top</position>
<position>user1</position>
<position>user2</position>
<position>user3</position>
<position>user4</position>
<position>footer</position>
<position>debug</position>
<position>syndicate</position>
<position>mynewposition</position>
</positions>
see more here
http://docs.joomla.org/How_do_you_add_a_new_template_position%3F
in Joomla 1.5 Admin back in menus/menu manager
Create a new menu called topmenu
go to extensions/module manager and edit topmenu module
in module parameters assign mainmenu
in advanced parameters module class suffix is _menu

Not sure if this the right way to do this but it worked!

hcv12345
09-09-2009, 11:49 PM
I saw a posting on this topic regarding the main menu not working due to missing code in Menu.php.

The reply was a bit cryptic since there are many menu.php files in this site in various subdirectories.

I would also like to know where in th emenu.php file this fix up line from 'Porche3 reply' needs to be inserted.

needed to add:
AND access<='$gid' AND sublevel='0' AND published='1' ORDER BY ordering LIMIT 10";
to menu.php)

If anyone can send me replacement files for the incomplete files within -j15-84 it would be greatly appreciated.

regards, hcv12345