View Full Version : link image (show on main article page)

11-29-2007, 05:02 AM
When you create an article in the admin section, there is a box you can enter a link into, that displays a little blue square image below articles listed in categories. That when clicked go to the link. How can this little image also be added the main Article Pages, so it's displayed there also with all full articles viewed

11-29-2007, 09:54 AM
In default.tpl template for article view add following code bellow <vte:value select="{article.get_body}" />:

<a class="visit" href="{article.get_link}"><img src="{VIVVO_THEME}img/external.png" alt="{LNG_VISIT_WEBSITE}"/></a>

11-29-2007, 11:26 AM
thankyou, I've also noticed that the 3 smaller images displayed to the right of the large rotating images on the homepage. That only the bottom one of the 3 displays this image link, is the anyway to make all 3 small images display the link image.