1
JamesSAEP
How can I "Break Up" the Main Menu
  • 2005/3/18 17:30

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


If you look at my site www.webdiscourse.comthe "Main Menu" is really long. How can I take out the "RSS -..." and put them in a seperate menu heading.

Thanks.

2
tjnemez
Re: How can I "Break Up" the Main Menu
  • 2005/3/18 19:01

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


create a custom block with links to module. using the following will match your main menu:

<div class="blockContent">
<table cellspacing="0" width="100%">
<tr>
<td id="mainmenu">
<a class="menuTop" href="{X_SITEURL}/modules/">your text</a>
<!-- start module menu loop -->
<a class="menuMain" href="{X_SITEURL}/modules">your text</a>
<a class="menuMain" href="{X_SITEURL}/modules">your text</a>
<!-- end module menu loop -->
</td>
</tr>
</table></div>

you can add as many links as you want. from sytem admin -> modules deactivate the modules you want to add to your custom block and manually link them there.

3
JamesSAEP
Question - Re: How can I "Break Up" the Main Menu
  • 2005/3/18 19:35

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Thanks for this info. Do I create this "block" in the html file or in the Admin area "blocks"?

Thanks.

4
tjnemez
Re: Question - Re: How can I "Break Up" the Main Menu
  • 2005/3/18 19:37

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


system admin -> blocks

5
JamesSAEP
Revised Question - Re: How can I "Break Up" the Main Menu
  • 2005/3/18 20:08

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Can you look at my site and tell me what is wrong?
1. The new block is stretched. I don't want this to look like this.

2. When you click on the link, it say "Selected module does not exist!" I've solved this one, I can't uncheck the module in the Admin -> modules section. It will deactivate it. So, I left it checked and then just removed access to it in the "Groups". Is there another way around this?



Here is my code:

<div class="blockContent">
<table cellspacing="0" width="100%">
<tr>
<td id="mainmenu">
<!-- start module menu loop -->
<a class="menuMain" href="{X_SITEURL}modules/rss_computers4i">Computers/Security</a>
<a class="menuMain" href="{X_SITEURL}modules/rss_legal1">Legal</a>
<a class="menuMain" href="{X_SITEURL}modules/rss_medical2">Medical</a>
<a class="menuMain" href="{X_SITEURL}modules/rss_univ3">universities</a>
<a class="menuMain" href="{X_SITEURL}modules/rss_xhld0">Mi
scellaneous</a>
<!-- end module menu loop -->
</td>
</tr>
</table></div>

6
JamesSAEP
Re: Revised Question - Re: How can I "Break Up" the Main Menu
  • 2005/3/18 21:26

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Ok, I've changed the code and now it is almost there. If you look at the "RSS Headlines", you'll see that the selections are spaced out. How do I get them to be close to each other?

CODE:

<div class="blockContent">
<table cellspacing="0" width="100%" height="1">
<tr>
<td id="mainmenu">

<!-- start module menu loop -->
<a class="menuMain" href="{X_SITEURL}modules/rss_computer4/">Computers/Security</a><br>
<a class="menuMain" href="{X_SITEURL}modules/rss_legal1/">Legal</a><br>
<a class="menuMain" href="{X_SITEURL}modules/rss_medical2/">Medical</a><br>
<a class="menuMain" href="{X_SITEURL}modules/rss_univ3/">Universities</a><br>
<a class="menuMain" href="{X_SITEURL}modules/rss_xhld0/">Miscellaneous</a>
<!-- end module menu loop -->
</td>
</tr>
</table>
</div>

Site: www.webdiscourse.com

Thanks.

J

7
tjnemez
Re: Revised Question - Re: How can I "Break Up" the Main Menu
  • 2005/3/18 22:23

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


you will need to take out all the "br"

and yes sorry about the deactivate thing, just set all to "0"

8
JamesSAEP
Re: Revised Question - Re: How can I "Break Up" the Main Menu
  • 2005/3/18 22:42

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Taking out the br worked!

Thank you very much for all your help!

J

Login

Who's Online

92 user(s) are online (42 user(s) are browsing Support Forums)


Members: 0


Guests: 92


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