How to create Back and Print button the sample.tmpl ?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Morgen
Posts: 14
Joined: Thu 3. Feb 2005, 08:25

How to create Back and Print button the sample.tmpl ?

Post by Morgen »

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>&nbsp;</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>
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi Morgen,

setup this in your defined template not in a template for list oder article listing, then you will have it on all pages

put the code into the template in footer for e.g.
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
bachi
Posts: 308
Joined: Fri 6. Aug 2004, 17:52
Location: Western Styria, AUSTRIA
Contact:

Post by bachi »

you should insert the code in your template.
If yo insert the Code in your sample.tmpl file it would placed after every content- part.
Morgen
Posts: 14
Joined: Thu 3. Feb 2005, 08:25

Post by Morgen »

ok, but not insert my template footer

some text to small...
http://www.sumegitukor.hu/index.php?id=12,7,0,0,1,0
this is article+ html code

The footer is placed too down, and its hard to realize the buttons.
cyrano
Posts: 1598
Joined: Sat 31. Jan 2004, 18:33
Location: Stuttgart
Contact:

Post by cyrano »

hi,

if placed in footer section it will appears under your pages, so it depends on the height of your pages.

you can define a css-class for footer and write in class in layout setting for e.g. footer and define this in the frontend.css like

.footer {
value for text, size and color
}
Gruß/ regards cyrano
--------------------------------------------------------
templates -> http://www.128.weitzelmedia.de
planepix -> http://www.planepix.de
XING -> https://www.xing.com/profile/Thomas_Weitzel3
Post Reply