[TYPO3-dev] render content or not based on user input

media.res | Alex Widschwendter a.widschwendter at mediares.at
Mon Jan 21 18:20:16 CET 2008


hi devs,

maybe you have a hint for concerning the following problem. i'm 
implementing content localization based on ip2location service.

i have a dropdown for all content elements defining for which country 
the content element should be shown.

first idea was to hook in the enablefields query. but this seems to be 
cached so it doesn't work.

does anybody know a hook where i can define if a CE is outputted or not?

current working solution is a condition userfunc. depending on the 
result i modify the styles.content.get TS object. as said it works but 
is not really sexy.

thx for hints!

cheers alex




More information about the TYPO3-dev mailing list