1
robodude
question.. plz answer
  • 2003/11/4 13:10

  • robodude

  • Just popping in

  • Posts: 3

  • Since: 2003/10/20


ok lets say i have a link to a page, but its not a module.
how do i make a link to that page(diffrent page not a XOOPS page). so the link will be in the main menu?

2
chapi
Re: question.. plz answer
  • 2003/11/4 15:01

  • chapi

  • Theme Designer

  • Posts: 611

  • Since: 2002/1/22


You can't add simply a new link to the mainmenu because it is created dynamically on the modules. Maybe you should try iMenu to create your own menu.

3
Herko
Re: question.. plz answer
  • 2003/11/4 16:45

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Yes you can add a link to the main menu, but you have to have at least a little undestanding of how templates are made, and a little HTML knowledge is also good.

The xoops.org main menu block template looks like this:
<table cellspacing="0">
  <
tr>
    <
td id="mainmenu">
      <
class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}>a>
      
      <{foreach 
item=module from=$block.modules}>
      <
class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}>a>
        <{foreach 
item=sublink from=$module.sublinks}>
          <
class="menuSub" href="<{$sublink.url}>"><{$sublink.name}>a>
        <{/foreach}>
      <{/foreach}>
      
    td>
  tr>
table>

You can add your own menu itens only before or after all the other items. Lets say you add it after the last generated menu item, and all you have to do is add your link directly after the text, but before the text.

That should do the trick.

Herko

4
robodude
Re: question.. plz answer
  • 2003/11/5 2:20

  • robodude

  • Just popping in

  • Posts: 3

  • Since: 2003/10/20


YUP! though i had ter do somethign liek that, but i wasnt goign to do it before i found out its safe. LMAO! but is there a way i can put a link liek that bettwen 2 module links? or o i have to make a module?

cna you give me the fiels that i would need to make a module that when i lcik the link to that module it will redirect me to a link that i can set?

Login

Who's Online

385 user(s) are online (109 user(s) are browsing Support Forums)


Members: 0


Guests: 385


more...

Donat-O-Meter

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

Latest GitHub Commits