How to create Back and Print button the sample.tmpl ?
Posted: Wed 2. Mar 2005, 14:57
Hi!
Where should I insert this code, to be appeared under the whole text?
I'm insert code:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100">[BACK]{IMAGE_LEFT:arrow01.gif} vissza[/BACK]</td>
<td> </td>
<td width="100" height="25"><div align="right">[PRINT]{IMAGE_RIGHT:printer.png} nyomtatás[/PRINT]</div></td>
</tr>
</table>
here is the sample.tmpl :
<!--
sample custom full article summary template
===========================================
TITLE = article title
SUB = article subtitle
SUMMARY = article summary text
IMAGE = summary image, also click zoomable
CAPTION = summary image caption
DATE = show article date {DATE:FORMAT:LANG} or {DATE:FORMAT}
//-->
<div>
[TITLE]<h1 style="margin:0 0 5px 0;">{TITLE}</h1>[/TITLE]
[SUB]<h3 style="margin:0 0 5px 0;">{SUB}</h3>[/SUB]
<p style="margin:0">[IMAGE]<span style="float:left;margin:2px 5px 8px 0;">{IMAGE}[CAPTION]<br>{SPACER:1x3}<br>{CAPTION}[/CAPTION]</span> [/IMAGE]
{SUMMARY}</p>
</div>
Where should I insert this code, to be appeared under the whole text?
I'm insert code:
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100">[BACK]{IMAGE_LEFT:arrow01.gif} vissza[/BACK]</td>
<td> </td>
<td width="100" height="25"><div align="right">[PRINT]{IMAGE_RIGHT:printer.png} nyomtatás[/PRINT]</div></td>
</tr>
</table>
here is the sample.tmpl :
<!--
sample custom full article summary template
===========================================
TITLE = article title
SUB = article subtitle
SUMMARY = article summary text
IMAGE = summary image, also click zoomable
CAPTION = summary image caption
DATE = show article date {DATE:FORMAT:LANG} or {DATE:FORMAT}
//-->
<div>
[TITLE]<h1 style="margin:0 0 5px 0;">{TITLE}</h1>[/TITLE]
[SUB]<h3 style="margin:0 0 5px 0;">{SUB}</h3>[/SUB]
<p style="margin:0">[IMAGE]<span style="float:left;margin:2px 5px 8px 0;">{IMAGE}[CAPTION]<br>{SPACER:1x3}<br>{CAPTION}[/CAPTION]</span> [/IMAGE]
{SUMMARY}</p>
</div>