[TYPO3] Customizing templates
tonix (Antonio Nati)
tonix at interazioni.it
Wed Apr 11 15:59:14 CEST 2007
At 17.03 09/04/2007, Andrew Davis wrote:
>you could ebable/disable the printable page link using conditions in
>your template, that way you will only need one.
>look for conditions in the newsgroup for more help
I'm serching massively in manuals, but I cannot find a very basic
- definition of a variable, like
PagePrint.enable = 1
inside TS config of the page. Is this enough or there is other to add?
- usage of that variable inside a condition within the template setup:
[PagePrint.enable = 1]
I feel this is not enough, but I cannot guess what other params I
have to add in order to have it working.
>alternatively, you can have a separate template for each printable page,
>but if you uncheck clear setup and clear constants and rootlevel then
>you only need to add the needed code, and the tempplace will be added to
>the one above it in the tree...
>hope that helps a bit,
>tonix (Antonio Nati) wrote:
> > Sorry for the question, I don't know if what I'm looking for can be done.
> > Is it possible to write a unique template to be used for the whole site,
> > in which single parts of the template may be enabled/disabled using
> > TSconfig of each page?
> > I want to add a print version of the page, but only in some selected
> > pages. So those pages should enable both the "link to print version",
> > and the availability of typeNum98 format.
> > I would love to avoid to make a separate template for each of these pages.
> > Thanks,
> > Tonino
>TYPO3-english mailing list
>TYPO3-english at lists.netfielders.de
More information about the TYPO3-english