7
Insert the following code in your theme.html where you want your horizontal menu to be displayed:
<{php}>if ( !function_exists( 'b_system_main_show' ) ) { include_once XOOPS_ROOT_PATH . '/modules/system/blocks/system_blocks.php'; } $this->_tpl_vars['mainmenu'] = b_system_main_show(); <{/php}><a href="<{$xoops_url}>/" title="<{$xoops_sitename}>: <{$xoops_pagetitle}>">Homea><{foreach from=$mainmenu.modules item=module}> | <a href="<{$xoops_url}>/modules/<{$module.directory}>/" title="<{$module.name}>"><{$module.name}>a><{/foreach}>
If you want it to be styled, wrap it in a div and assign your css to the div's class, like so
<div class="navbar">div>
In style.css
.navbar {/*your CSS definitions here*/}
.navbar a {/*your CSS definitions here*/}
.navbar a:hover {/*your CSS definitions here*/}
Example:
http://racemn.com/The header and footer links are generated this way on that site.
Hope that helps.
James
Insanity can be defined as "doing the same thing over and over and expecting different results."
Stupidity is not a crime. Therefore, you are free to go.