boccio
10-19-2006, 01:15 PM
To have Abstract Image of an article clickable (on home page, or category pages) do the following:
HTML_function.php
1. On line 1023, after the closing bracket '}', add this line of code
$article->link = $link;
2. After line 1578 add '{LINK}' just after the '{IMAGE}',
'{IMAGE}',
'{LINK}'
3. After line 1592 add $article->link after $article->Image,
$article->Image,
$article->link
index.php
1. On lines 231 and 399 add '/{LINK}/' on both places just after '/{IMAGE}/',
'/{IMAGE}/',
'/{LINK}/'
2. On lines 244 and 412 add $article->link just after $article->Image,
$article->Image,
$article->link
article_Short.tpl
Add link to the image tag, like this (underlined is what you need to add):
<div class="plainTxt"><a href="{LINK}"><img src="{ROOT}files/{IMAGE}" alt="image" align="left" border="0" style="padding-right: 5px;" /></a>{BODY} </div>
HTML_function.php
1. On line 1023, after the closing bracket '}', add this line of code
$article->link = $link;
2. After line 1578 add '{LINK}' just after the '{IMAGE}',
'{IMAGE}',
'{LINK}'
3. After line 1592 add $article->link after $article->Image,
$article->Image,
$article->link
index.php
1. On lines 231 and 399 add '/{LINK}/' on both places just after '/{IMAGE}/',
'/{IMAGE}/',
'/{LINK}/'
2. On lines 244 and 412 add $article->link just after $article->Image,
$article->Image,
$article->link
article_Short.tpl
Add link to the image tag, like this (underlined is what you need to add):
<div class="plainTxt"><a href="{LINK}"><img src="{ROOT}files/{IMAGE}" alt="image" align="left" border="0" style="padding-right: 5px;" /></a>{BODY} </div>