Quote:
Originally Posted by sparklywater
If you look at this preview of an entry of a pdf file:
Do you see in the red circle the extended description of a category is displayed?
If this is a preview of an entry, then why is the description of a category displayed here?
|
The logic is that you are looking at an entry within its category. In the standard links_main template (which I think you've modified), it makes sense to show the extended description within the category title box.
You can always hide the extended description by including a text on $viewcatid in the template. In the standard links_main template, you have this sequence:
Code:
<if condition="$viewcattext or $viewcatextra">
<tr>
<td class="alt1">
$viewcattext
<div class="smallfont alt1" style="float:$stylevar[right]" align="$stylevar[right]">$viewcatextra</div>
</td>
</tr>
</if>
which you could change to
Code:
<if condition="($viewcattext or $viewcatextra) and !$viewlinkid">
<tr>
<td class="alt1">
$viewcattext
<div class="smallfont alt1" style="float:$stylevar[right]" align="$stylevar[right]">$viewcatextra</div>
</td>
</tr>
</if>