[TYPO3-templavoila] Removing content elements on conditions

Dmitry Dulepov dmitry at typo3.org
Tue Jun 19 09:26:18 CEST 2007


Hi!

Benjamin Mack wrote:
> I was just wondering about a similar thing...
> 
> Here is my idea for hiding specific fields that I mapped:
> 
> Of course this is in the template setup...
> 
> ==========
> page.10 = USER
> page.10 {
>     userFunc = tx_templavoila_pi1->main_page
>     hideFields = myfield1,myfield2
> }
> ==========
> wouldn't that be cool?

I do not think so because fields are contained in DS and yuo try to 
reference them in TS. I would say a tag in DS XML is better, it can be 
added to local processing XML of TO if one wishes to hide a field.

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-project-templavoila mailing list