[TYPO3] POST variables and

Benjamin Todd b.todd at emnet.co.uk
Fri Feb 16 17:17:54 CET 2007


Hi list,

I am trying to do some dynamic css stylesheet switching and I have run
into difficulty. First up, Typo is caching the TEXT data, which I don't
want it to do as it is from a form variable, and hence is dynamic. The
second problem is TS concatenation. I need to do something like this:

includeCSS = fileadmin/templates/designs/styles/
includeCSS += GPvar : colour
includeCSS += .css

Except in written in TypoScript.

The TS I have at the moment is below

Thanks,

Ben

*****************
TypoScript:
*****************
page.20 = TEXT
page.20.data = GPvar : colour

page.includeCSS.file1 = fileadmin/templates/designs/styles/design2.css
*****************

 
------------------------
Benjamin Todd
Linux Web Developer
 
b.todd at emnet.co.uk
EMNET, PO Box 559, Nottingham, NG1 3LB
Tel:  +44 (0)115 956 8260
Fax: +44 (0)115 956 8264
 
www.emnet.co.uk
Company Registration No. 3144383 - VAT No. 694 620 609 - Registered
Office: Church House, 13-15 Regent Street, Nottingham NG1 5BS
 
www.emnetsolutions.co.uk
Company Registration No. 05384178 - VAT No. 856 671 781 - Registered
office: Church House, 13-15 Regent Street, Nottingham, NG1 5BS
 
 



More information about the TYPO3-english mailing list