1
akulion
help with links
  • 2006/2/27 3:35

  • akulion

  • Just popping in

  • Posts: 9

  • Since: 2006/2/21


Hi,
I am using the XMT theme which comes with the XOOPS 2.2.3
There are 4 links which appear at the top (look here to see what i mean:http://path-to-peace.org)

How can I change those links?
I dont see any place to set them to what I want
Any help please?

Thanks!

2
Northern
Re: help with links
  • 2006/2/27 3:46

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


youll find what your looking for here.

themes/xmt/navigation/theme_usernav.html...

youll see this.

<!-- USER NAVIGATION BAR START -->
                    <
div id="navbar">
                        <
table cellspacing="0" cellpadding="0" id="menu1" class="NavMenu">
                            <
tr>
                                <{if 
$xoops_isuser == 1}>
                                    <
td>
                                        <
class="button" href="javascript:void(0)"><{$smarty.const._MA_NAV_ACTIONS}></a>
                                        <
div class="section">
                                            <
class="item" href="<{$xoops_url}>/user.php"><{$smarty.const._MA_NAV_VIEWACCOUNT}></a>
                                            <
class="item" href="<{$xoops_url}>/edituser.php"><{$smarty.const._MA_NAV_EDITACCOUNT}></a>
                                            <
class="item" href="<{$xoops_url}>/notifications.php"><{$smarty.const._MA_NAV_NOTIFICATIONS}></a>
                                            <
class="item" href="<{$xoops_url}>/user.php?op=logout"><{$smarty.const._MA_NAV_LOGOUT}></a>
                                            <{if 
$xoops_isadmin}>
                                                <
class="item" href="<{$xoops_url}>/admin.php"><{$smarty.const._MA_NAV_ADMINISTRATION}></a>
                                            <{/if}>
                                        </
div>
                                    </
td>
                                <{/if}>
                                    <
td><class="button" href="http://www.link.it">First Link</a></td>
                                    <
td><class="button" href="http://www.link.it">Second Link</a></td>
                                    <
td><class="button" href="http://www.link.it">Third Link</a></td>
                                    <
td><class="button" href="http://www.link.it">Fourth Link</a></td>
                                    <
td id="date">
                                         <{if 
$xoops_isuser == 1}>
                                            <{
$smarty.const._MA_NAV_WELCOME}><{$xoops_uname}>!
                                         <{else}>
                                         <{
$smarty.now|date_format:"%A, %e %B %Y"}>
                                         <{/if}>
                                    </
td>
                            </
tr>
                        </
table>
                    </
div>
                    <!-- 
USER NAVIGATION BAR END -->


look for this code.

you should know what to do next.

<td><class="button" href="http://www.link.it">First Link</a></td>
                                    <
td><class="button" href="http://www.link.it">Second Link</a></td>
                                    <
td><class="button" href="http://www.link.it">Third Link</a></td>
                                    <
td><class="button" href="http://www.link.it">Fourth Link</a></td>


good luck.

Marc.

3
ghettonet
Re: help with links
  • 2006/2/27 3:54

  • ghettonet

  • Not too shy to talk

  • Posts: 176

  • Since: 2005/12/4


Ok, I don't know how you are set up, and there might be an easier way to do this, but off hand this is how I do it.

Get your theme_usernav.html (it's in the /html/themes/xmt/navigation/theme_usernav.html). You need to edit the source of this (using any text editor or wysiwyg editor, frontpage, notepad, or your webhost's tools). look for these lines:
Quote:
<td><a class="button" href="http://www.link.it">First Link</a></td>^M
<td><a class="button" href="http://www.link.it">Second Link</a></td>^M
<td><a class="button" href="http://www.link.it">Third Link</a></td>^M
<td><a class="button" href="http://www.link.it">Fourth Link</a></td>^M


Change the "First Link", "Second Link" text to whatever you want, and change the link to where you want to point to. If you don't want them, just erase this block entirely. If you need any help, IM me at walmartshopper67.

I like your site btw, nice job


Aw dammit, look at that, we must have been typing at the same time. haha

4
akulion
Re: help with links
  • 2006/2/27 4:12

  • akulion

  • Just popping in

  • Posts: 9

  • Since: 2006/2/21


Thanks for the help

And thanks for the compliment

5
shelizard
Re: help with links
  • 2006/2/28 14:07

  • shelizard

  • Just popping in

  • Posts: 3

  • Since: 2006/2/18


Awesome help for that question...

Heres another similiar question. How do you add more links on the Main Menu I can add a title (see here www.collageemporium.com) called Blog but how do I add links in there?? I am not using the XOOPS blog module it is one that I already have. Thanks for the help.

Login

Who's Online

202 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 202


more...

Donat-O-Meter

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

Latest GitHub Commits