MyBB Community Forums

Full Version: Adding another link
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
On my page there is a donate button there. I want to duplicate it. But the URL and Image will be different but I'm not sure how. On HTML the link is <li><a href="http://btsxchange.com/donate.php"><img src="http://btsxchange.com/images/tera/donate.png" alt="" title="" />Donate</a></li>

and in the PHP file it's {$teradonate_donatelink}

I wanna change that link to <li><a href="http://btsxchange.com/donate2.php"><img src="http://btsxchange.com/images/tera/donate2.png" alt="" title="" />Donate</a></li>

So how do I do that in the PHP ? Or I do not touch the .php file and do it on other files ?

Thanks.
Try this:

Just instead of {$teradonate_donatelink},remove this and add:

<ul><li><a href="http://btsxchange.com/donate2.php"><img src="http://btsxchange.com/images/tera/donate2.png" alt="" title="" />Donate</a></li></ul>
and try this.

(2011-03-31, 01:11 PM)crazy4cs Wrote: [ -> ]Try this:

Just instead of {$teradonate_donatelink},remove this and add:

<ul><li><a href="http://btsxchange.com/donate2.php"><img src="http://btsxchange.com/images/tera/donate2.png" alt="" title="" />Donate</a></li></ul>
and try this.

Doesn't work. It came out blank pure works without images / hyperlink. I put my images at the right place.

Go to: ACP > Templates > header templates > header > and add your new link just before </ul>.
Got it working. Just that it is not align with the basic icons such as memberlist and all
Worked - Solved