PDA

View Full Version : How to: Page title as Link anchor text.



roady89
07-04-2007, 01:38 PM
This template mod will
1. Add the link's page title as link anchor text on the showlink page.
2. Do away with the showlink variable in front of the URL when you mouse over.
3. This mod Does NOT OPEN NEW WINDOW. (I havent figured that out yet.) Maybe someone can help with that. I'm not a coder by any means.

In ADV_LINKS_SHOWLINKS template:

Find

<td><a href="showlink.php?$session[sessionurl]l=$link[linkid]&amp;linkurl=$link[linkurl]" target="_blank"<if condition="$show['nofollow']"> rel="nofollow"</if>>$link[linkurl_display]</a></td>
</tr>

Replace with

<td><a href="$link[linkurl]">$link[name]</a></td>
</tr>

Demo here. Be gentle...I just installed it 2 days ago and I'm still playing with it..Custom Golf Carts - EZGO, Club Car and Yamaha Golf Cars (http://www.buggiesgonewild.com/)