1
random
Re: Adding Links in the Main Menu
  • 2003/3/26 3:17

  • random

  • Just popping in

  • Posts: 2

  • Since: 2003/3/26


I just figured it out, you need to put http:// before the actual link.

But how can I open that url in a new window



2
random
Re: Adding Links in the Main Menu
  • 2003/3/26 0:49

  • random

  • Just popping in

  • Posts: 2

  • Since: 2003/3/26


Quote:

mktwain124 wrote:
thanks, sitekeep...I forgot to include that part.

To summarize the procedure, clone the default theme with Admin Theme Manager ["Themes"]. In the Templates column of your cloned theme, click on System [LIST(22)], click on edit for system_block_mainmenu.html and add one of the following scripts either before the <tr> tag which puts your links before the regular menu items or after the </tr> tag which puts them at the bottom of the menu block:

[size=small]
<!-- 
Link to file on your site: -->
  <
tr>
    <
td id="mainmenu">
      <
class="menuMain" href="<{$xoops_url}>/path_to_your_file">Link Title</a>
    </
td>
  </
tr>
 
 
<!-- 
Link to outside url: -->
  <
tr>
    <
td id="mainmenu">
      <
class="menuMain" href="foo.bar.com">Link Title</a>
    </
td>
  </
tr>
[/
size]


Now I am finding a problem here

This works perfectly for files on my site, but I cannot go to an external url.

Instead of going to the external url I get the following:

foo.bar.com/myexternallink.net

It is like every link I try it first gives me the default URL and add my extrenal link to it.

Any help appreciated




TopTop



Login

Who's Online

174 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 174


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