[TYPO3-shop] tt_products 2.4.10

Robert Markula robert.markula at gmx.net
Thu May 18 19:03:00 CEST 2006


Franz Holzinger wrote:
> Hello Robert,
>> When creating the css-based template I stumbled across an issue that
>> keeps this template from validating:
>>
>> In ITEM_LIST_TEMPLATE I cannot get unique id's for the 'qty' field. This
>> is needed to assign a label to each 'qty' field. I can't use
>> ###FIELD_NAME### as an id either, because it contains characters which
>> are not valid in XHTML strict (the [] brackets, to be more specific).
>> A new marker that renders an incrementing id on each occurance would help.
>>
>> Could something like this be introduced in the next version of tt_products?
>>
> Do we need an additional marker to these markers? Which name shall it
> have and how should it be applied (which HTML shall it produce). Give me
> an example with HTML code.

Hi Franz,
The ###FIELD_NAME### marker would be sufficient, it just contains
invalid characters (the [] brackets) in the output.
It would work just fine if this marker would be rendered without those
brackets, e.g.:

ttp_basket_3_quantity
instead of
ttp_basket[3][quantity]

Cheers,
Ro



More information about the TYPO3-project-tt-products mailing list