[TYPO3-dev] how to introduce TYPO3 parameters for markers
S. Teuber
traveler_in_time at gmx.net
Tue May 2 11:56:46 CEST 2006
Hi Franz,
> ###PRODUCT_IMAGE1{typo3_options file.maxW = 900}###
I don't consider this a good idea. The whole setup of HTML-Templates (with
markers), TypoScript (for configuration) and PHP (for the application
logic) follows the concept of seperating different parts of the whole, just
like Templates seperate presentation from logic, or as CSS seperates the
layout of an HTML document from the standardized generalized markup.
Your integration of Typoscript configuration into the HTML template
reverses the seperation, thus having the same effect as putting CSS styles
back into HTML by using inline-styles in tags. While the latter may "just"
be considered ugly, the integration of configuration parameters in the
template poses a more serious problem if work on a site is split up in
teams: Suddenly, the layout/design team, with very good HTML/CSS skills but
usualy very poor TypoScript skills, gets the opportunity to mess up
TypoScript code.
Bad!
Please leave TypoScript in the TypoScript templates.
Sven
More information about the TYPO3-dev
mailing list