[Typo3] Address of the current page
Peter Klein
peter at umloud.dk
Mon Oct 10 13:13:24 CEST 2005
Hi Livious.
Here's a codesnippet from the printheader of one of my sites..
It creates a small headerblock at the top of the site, containing the page
title, the original URL & the current date.
You just include that in your print template.
-- cut --
lib.printheader = COA
lib.printheader {
10 = TEXT
10.data = page:title
10.wrap = Title: |<br>
20 = TEXT
20.data = getenv:HTTP_REFERER
20.wrap = URL: |<br>
30 = TEXT
30.data = date : U
30.strftime = %d-%b-%y
30.wrap = Udskriftsdato: |<br>
wrap = <div id="printHeader"><div class="printDivider"></div>|<div
class="printDivider"></div></div>
}
-- cut --
--
Peter Klein/Umloud Untd
"Livius Agrippa" <livius_agrippa at yahoo.com> skrev i en meddelelse
news:mailman.1.1128941578.23347.typo3-english at lists.netfielders.de...
> Hi,
> I have one small question. Is it possible to put the address of the
> current page inside of the page. I want to show this information on the
> print preview. And also if it is possible the normal address not the print
> preview address.
>
> Thanks in advance,
> Livius
More information about the TYPO3-english
mailing list