[TYPO3] Change HTML-header for certain pages

Heiner Lamprecht heiner at heiner-lamprecht.net
Sun May 28 16:10:51 CEST 2006


Hi,

I have a complete TS-based template.

Now, I would like to include some special JavaScript-files in the 
html-header of certain pages.  They should not be included in any 
other pages, and every script file shall only be included in one 
page each.

What is the best approach for this?

The best would be something like:

if($pid = 12 || $pid = 34 | $pid = 56) {
  include("fileadmin/scripts/$pid.html")
}

It's pseudo code, so how to translate to TS?


Thanks,


    Heiner

-- 
    heiner at heiner-lamprecht dot net    GnuPG - Key: 9859E373
  Fingerprint:  3770 7947 F917 94EF 8717 BADB 0139 7554 9859 E373



More information about the TYPO3-english mailing list