3
Along the same lines I have another programing related question:
I want to make another menu item on the main menu -- without having to install a block to do it.
ADMIN | MAIN MENU | EDIT TEMPLATE
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}>a>
[color=990000]<a href="http://upnrunnin.hypermart.net/index.html">page 2a>
[/color]
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}>a>
<{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}>a>
<{/foreach}>
<{/foreach}>
td>
tr>
table>
***********************************************
I have inserted the Link to desired page using html... but it doesn't display in the menu area -- I haven't figured out why It is satisfactory in block view.
http://upnrunnin.hypermart.net/xoops01/EDIT ADDON:
THIS WORKED.... I missed it HAD TO BE A CLONE TEMPLATE.
________________________
1. You need to create a template set to work on
(you can not work on 'default' template set). If you done that, igore the rest of this point. So go to admin part of XOOPS and System admin -> Templates. Then chose "clone", enter the name of new template set and click "Submit".
Next you need to tell XOOPS to use this template set. So go to System Admin -> Preferences -> General Setings and for "Default template set" option chose the new template set you created, scroll down and click "Go!"
2. Now you need to edit the template for main menu: Go to System Admin -> Templates and from the section of the new template click on list next to System (System [List (27)]). Find "system_block_mainmenu.html" and click edit. You should see something like this: The EXAMPLE ABOVE.