16
PTlooker
Re: Horizontal Menu
  • 2006/6/8 17:54

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


Anyone please?

15
PTlooker
Re: Horizontal Menu
  • 2006/6/7 20:33

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


Well i really can't do a thing, if it was a tutorial to do everything that a mentioned above it would be great..
Thanks in advance!

14
solo71
Re: Horizontal Menu
  • 2006/6/7 13:21

  • solo71

  • Module Developer

  • Posts: 941

  • Since: 2003/1/29


I think you have all the necessary explanations into the module, or even in this forums.

Tell us where you are stuck...


13
PTlooker
Re: Horizontal Menu
  • 2006/6/7 9:23

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


If anyone could help me with my doubts on multimenu that would be great :)

12
falcon73
Re: Horizontal Menu
  • 2006/6/7 2:24

  • falcon73

  • Just popping in

  • Posts: 36

  • Since: 2004/10/21


Quote:
Tks, but i really need this for the moment.


I'm sorry my friend. I can't help you for now. I have to recoding my DHTMLMenu module if I want release and support it for XOOPS. Maybe temporary solution from JMorris can help you.

Thanks.

11
PTlooker
Re: Horizontal Menu
  • 2006/6/6 20:49

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


I do have multimenu, but i can't find a way of doing this with that module, i dont know how to do the menu and submenus with multimenu, and i dont know how to apply the css of my theme like i did with your code... :(

10
JMorris
Re: Horizontal Menu
  • 2006/6/6 20:04

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


If you're needing that level of functionality, my suggestion would be to use MultiMenu as it supports a dynamic horizontal menu with links you define.

HTH.

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.

9
PTlooker
Re: Horizontal Menu
  • 2006/6/6 19:45

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


I've noticed now that with that code i can't get the sub-menus to drop down or something like that? Do you know how to do it?
I noticed too that guest can't see anylink, and they are suppose to. And if possible the condition to show admin link.
Thanks in advance!

8
PTlooker
Re: Horizontal Menu
  • 2006/6/6 19:33

  • PTlooker

  • Just can't stay away

  • Posts: 447

  • Since: 2003/6/15


Huge thanks to that!

7
JMorris
Re: Horizontal Menu
  • 2006/6/6 17:14

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


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}>">Home</a><{foreach from=$mainmenu.modules item=module}>&nbsp;|&nbsp;<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"><!--Navbar Code--></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.

Login

Who's Online

152 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 152


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits