[TYPO3-templavoila] Removing content elements on conditions
Benjamin Mack
mack at xnos.org
Tue Jun 19 15:18:34 CEST 2007
Hey Dmitry,
here's the deal:
As much as I like the DataStructures, I'd love to use the TS power to
manipulate the output, depending on the pages, their templates (and TS)
instead of the template objects.
So, I could do something like this:
==================
page.10.userFunc = tx_templavoila_pi1->main_page
[globalVar = GPvar:myvar = 20]
page.10.ds.hideFields = field_footer
page.10.ds.field_header.typoscript < lib.top
[end]
==================
I know that I can do something like that with TemplateObjects (in fact,
the "print=1" variable does the same thing for the print version), but I
think if we can manipulate the DS on TS-level, that would be thrilling.
Anyway, just an idea :-)
--
greetings,
benni.
-SDG-
www.xnos.de // www.xnos.org
More information about the TYPO3-project-templavoila
mailing list