1
Stitch19
How to add txt link i main menu ???
  • 2005/7/24 9:38

  • Stitch19

  • Just popping in

  • Posts: 81

  • Since: 2004/12/18


Hi, well i made a map in frontpage that when you click on a city it goes to that city map, i will upload that html sites in my site directory, the problem is that i want to add a text link i my main menu where are links, F.A.Q, contact us,
So when you press maps it goes to my html uploaded pages...
How ???
Thanks in advance....

2
jdseymour
Re: How to add txt link i main menu ???

See this Faq Page, it explains how to add a link.

3
Stitch19
Re: How to add txt link i main menu ???
  • 2005/7/24 11:16

  • Stitch19

  • Just popping in

  • Posts: 81

  • Since: 2004/12/18


Quote:

jdseymour wrote:
See this Faq Page, it explains how to add a link.

Here is an example:

<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{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}>
<!-- end module menu loop -->
<a class="menuMain" href="<{$xoops_url}>/">yourtext</a>
</td> </tr>
</table>

add as many as you like.

WELL WHAT IS THIS, WHERE DO I ADD MY TEXT AND ITS LINK ???

4
jdseymour
Re: How to add txt link i main menu ???

Quote:

Stitch19 wrote:
Quote:

jdseymour wrote:
See this Faq Page, it explains how to add a link.

Here is an example:

<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{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}>
<!-- end module menu loop -->
<a class="menuMain" href="<{$xoops_url}>/">yourtext</a>
</td> </tr>
</table>

add as many as you like.

WELL WHAT IS THIS, WHERE DO I ADD MY TEXT AND ITS LINK ???


<a class="menuMain" href="<{$xoops_url}>/">yourtext</a>

5
MikeFalcor
Re: How to add txt link i main menu ???
  • 2005/7/24 11:33

  • MikeFalcor

  • Just popping in

  • Posts: 33

  • Since: 2005/6/21


Quote:
WELL WHAT IS THIS, WHERE DO I ADD MY TEXT AND ITS LINK ???


<class="menuMain" href="<{$xoops_url}>/">yourtext</a>


Read closer, my friend...

<{$xoops_url}> is the root directory of your XOOPS installation. So, if you wanted to point the new link to www.yoursite.com/personal/newpage.html, all you would need to do (sorry for reposting the example) is (note the red and bold):

// This code you will find there ALREADY

<table cellspacing="0">
<
tr>
<
td id="mainmenu">
<
class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- 
start module menu loop -->
<{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}>
<!-- 
end module menu loop -->


// This code you MUST add YOURSELF

[b][color=FF0000]<class="menuMain" href="<{$xoops_url}>/personal/newpage.html">LinkNameHere</a>[/color][/b]


// This code comes AFTER the ENTIRE menu once you get
// it set up however you want it

</td> </tr>
</
table>


If you still have questions, feel free to ask, but mind the caps, please. Asking rudely won't get you an answer any faster.

6
Stitch19
Re: How to add txt link i main menu ???
  • 2005/7/24 16:45

  • Stitch19

  • Just popping in

  • Posts: 81

  • Since: 2004/12/18


If you still have questions, feel free to ask, but mind the caps, please. Asking rudely won't get you an answer any faster. [/quote]
NO, i wrote rudely because i aksed just below all that code so i thought that you will not see my question...
Thanks....

7
tonyarmani
Re: How to add txt link i main menu ???
  • 2005/7/27 16:04

  • tonyarmani

  • Just popping in

  • Posts: 18

  • Since: 2005/7/27


Now the next part is this is how does one add links on different pages. For example, I want to make each one of the department pages locked down so that only members of certain custom groups can gain access (engineering can only view /Departments/Engineering for ex) I am sure that there is something whether it be backend or , gasps, hardcoding that I can do. Thank you for your time.

Login

Who's Online

123 user(s) are online (59 user(s) are browsing Support Forums)


Members: 0


Guests: 123


more...

Donat-O-Meter

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

Latest GitHub Commits