[TYPO3-dev] how to introduce TYPO3 parameters for markers

Franz Holzinger franz at fholzinger.com
Tue May 2 08:08:13 CEST 2006


Hello,

what do you think about introducing TYPO3 parameters for markers?

E.g. in the tt_products BananaGuard example bill template you have for
the image of a product:

###PRODUCT_IMAGE1###

Now I want to extend this to have this image on 2 positions of the page
but with different sizes. So I think it would be necessary to define the
different image sizes in the template.

###PRODUCT_IMAGE1{typo3_options file.maxW = 900}###

If nobody opposes I will introduce this for tt_products and other
extensions as well. This is similar to the smarty template

> <select name="customer_id">
>    {html_options values=$cust_ids output=$cust_names selected=$customer_id}
> </select>

TYPO3 parameters set here would override the settings for the 'image'
cObj of the view where this marker is used. Every parameter which is not
specially defined would still be that of 'image'. This image parameters
are used by tt_products internally to render the IMAGE cObj and display it.

Or do you prefer another solution?

Greets,

Franz







More information about the TYPO3-dev mailing list