Forums / Setup & design / override template

override template

Author Message

riccardo refolo

Tuesday 08 February 2005 1:25:27 am

I altered forum_replay to add a file.
I used this code in forum_replay.tpl but I dont'understand in wich template to put this code to give access to the file of the reply by a page that show the topic and relatives replay (a page like this that you are looking).
Can You halp me?

code:
{section show=$node.object.data_map.description.content.is_empty|not}
<div class="attribute-long">
{attribute_view_gui attribute=$node.object.data_map.description}
</div>
{/section}
{section show=$node.object.data_map.file.content}
<div class="attribute-file">
<p>{attribute_view_gui attribute=$node.object.data_map.file
icon_title=$node.name}</p>
</div>
{/section}