[TYPO3] Content condition
Tyler Kraft
tyler.kraft at netefficiency.co.uk
Tue Aug 26 11:24:59 CEST 2008
Hi Stephan,
Well I'd do it like it says in TSref. Like you say the "[" and "]" can't
be used within a condition.
In TSref under Global Variable there is a part that says IMPORTANT NOTE
and the first line there (misspelling and all) states:
"You can use values from global arrays and objects by deviding the
var-name with a "|" (vertical line). "
So I guess I would try that ;-)
[globalVar = GP:tx_spmcustomersation_pi1|customer = stoefln]
Wow that worked! (I've tested this and it does work, so if it doesn't
work for you then perhaps there is an issue somewhere else in your
typoscript)
hth
Tyler
Stephan Petzl wrote:
> Tyler Kraft schrieb:
>> Really, in my experience it's a very complete one! What's missing?
>>
>>
>> Michael Niemann wrote:
>>> It's a reference - yes but not a complete one. Very often parameters
>>> are incomplete. This is very common for open source software as
>>> developers rather develop new features than document old ones. I can
>>> understand this as it's more rewarding. Since they don't have to sell
>>> the product directly but rather their services they don't need a
>>> decent documentation being shipped to the customer.
>>>
>>> That's where you have to invest with open source software - either in
>>> time learning the system/framework or in support by professionals.
>>>
>
> well, why (for example) is this not working:
>
> [globalVar = GP:tx_spmcustomersation_pi1[customer] = stoefln]
> page.1 = TEXT
> page.1.value = tesssssssssst!
> [global]
>
> if i go to page index.php?id=321&tx_spmcustomersation_pi1[customer]=stoefln
> nothing happens. The problem seams to come from the [] in the get-param.
>
> any ideas?
More information about the TYPO3-english
mailing list