[TYPO3] POST variables and SOLVED

Peter Klein peter at umloud.dk
Mon Feb 19 14:58:57 CET 2007


Hi Benjamin. I don't think that would work, according to what you wanted..

If you do 'page.headerData.10 < lib.dyncss.10', then the content will be
CACHED.

If yo do 'page.headerData.10 < lib.dyncss'., then the content will NOT be
CACHED. (Because it's enclosed in a COA_INT)

So what you are doing now, is showing the cached content..

--
Peter Klein / Umloud Untd.

----- Original Message ----- 
From: "Benjamin Todd" <b.todd at emnet.co.uk>
Newsgroups: typo3.english
To: "TYPO3 English" <typo3-english at lists.netfielders.de>
Sent: Monday, February 19, 2007 11:15 AM
Subject: Re: [TYPO3] POST variables and SOLVED


Hi Peter,

Thank you sooo much :D. I was going crazy trying to solve the problem.

I just needed to change 'page.headerData.10 < lib.dyncss' to
'page.headerData.10 < lib.dyncss.10'

Many thanks,

Ben :)


Peter wrote:
--------------
Hi Benjamin.
Your TS won't work as "page.includeCSS" don't have stdWrap support, so
you
can't pass dynamic values to it.

But you could do this (Untested):

-- cut --
lib.dyncss = COA_INT
lib.dyncss = {
  wrap = <LINK href="|" rel="stylesheet" type="text/css">
  10 = TEXT
  10.data = GPvar : colour
  10.wrap = fileadmin/templates/designs/styles/|.css
}
page.headerData.10 < lib.dyncss
-- cut --

--
Peter Klein / Umloud Untd

------------------------
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