Hi all
New to all this, but could do with a little help.
I have a small forum at
www.footie-forum.co.uk and i want to add a text link to a 'partner' site, which is to show on every page.
I was thinking it should be easy enough to add to the top of the page, above the forums/threads, but below banner (to the left of Calendar, etc if possible), but have absolutely no idea on what to do for this.
Any ideas, or any plugins which will allow me to list 'partners' etc?
Thanks in advance
Hi,
You can edit the toplinks menu by editing the
header template (AdminCP -> Templates -> Modify -> <expand templateset> -> header)
In the template, you should see some code which looks like this:
<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
^ That defines the links that you see.
To add your own, you'd add something like the following code before the code above:
<li><a href="http://www.footie-forum.co.uk/">Partner Site</a></li>
You sir, are a star. Thanks for the help.
Instructions that even I understood
OK, Can I ask one more silly question ??
If I now wanted to change the colour of the text links, both for the one I added, and the Video Gallery one, what do I do?
I tried putting <font color="blue">....</font> in, but the colour remains the same. Is there asetting somewhere else in the template I need to change?
Complete n00b btw
So you just want to change the color for specific links, rather than
all the links at the top of the page?
If so, you'd have something like this:
<li><a href="http://www.footie-forum.co.uk/" style="color: blue;">Partner Site</a></li>
Once again, thank you for your help. Glad I joined this forum now