[TYPO3-dev] Display content-element only if user uses IE
Steffen Kamper
info at sk-typo3.de
Sat Oct 25 10:20:24 CEST 2008
Hi,
if it works it's ok ;-)
i normally use a lib-object for such cases and tscobj for displaying it.
vg Steffen
Christopher schrieb:
>> placing the TS on that page?
>> Putting page id in same condition?
>>
>> there are a lot of possible ways.
>
>
> Maybe it is just too late now...
>
> Let's say my element has the id 4711 and is on page 10:
>
> # If the browser is IE and page 10 is called, show the page normally:
> [browser = msie] && [globalVar = TSFE:id = 10]
> # Nothing to change in this case.
>
> [else]
> # Do not display the element with the id 4711
> page.20.subparts.INHALT.select.andWhere = uid!=4711
> [global]
>
> As far as I see by now, this works.
> Steffen, do you have a better idea?
>
> Christopher
>
>
More information about the TYPO3-dev
mailing list