MyBB Community Forums

Full Version: How to add a new link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hey

oh yes , replace the

<li><a href="$settings[homeurl]">$settings[homename]</a></li>

by

<li><a href="http://yoursite.com/index.php">Return to home Page</a> </li>

regards
thanks mate
what have i done wrong here

<li><a
href="{$mybb->settings['http:www.tussaudtimes.co.uk/imagehost']}/page.htm"><img src="{$theme['imgdir']}/toplinks/camara.gif" alt="" /></a></li>
The variable $mybb->settings['http:www.tussaudtimes.co.uk/imagehost'] does not exist. Try this:
<li><a 
href="http:www.tussaudtimes.co.uk/imagehost/page.htm"><img src="{$theme['imgdir']}/toplinks/camara.gif" alt="" /></a></li>
it partly work but i get this message - The requested URL /forums/www.tussaudtimes.co.uk/imagehost/ was not found on this server.

i want it to link to www.tussaudtimes.co.uk/imagehost/ also the picture is there but no text that i want (Image Host)

This is the code im using - <li><a
href="http:www.tussaudtimes.co.uk/imagehost/"><img src="{$theme['imgdir']}/toplinks/camera.gif" alt="" /></a></li>
The correct code would be..
<li><a
href="http://www.tussaudtimes.co.uk/imagehost/"><img src="{$theme['imgdir']}/toplinks/camara.gif" alt="" /> Text goes here</a></li>
Change text goes here to something else.
Great thanks very much worked a treat
Pages: 1 2