[TYPO3-shop] tt_products 2.4.10

Robert Markula robert.markula at gmx.net
Fri Jun 2 09:31:42 CEST 2006


Franz Holzinger wrote:
> Hello Robert,
> 
>> If you want to introduce a new marker (i.e. if the ###FIELD_NAME###
>> cannot be changed) it could have the name ###FIELD_ID### and could be
>> rendered as something like ttp_basket_id_1 (or whatever naming
>> convention you use).
>>
> you have e.g.
> 
> <INPUT size="8" maxlength="10" type="text" name="###FIELD_NAME###"
> value="###FIELD_QTY###">
> 
> and now you want to have instead
> 
> <INPUT size="8" maxlength="10" type="text" name="###FIELD_NAME###"
> value="###FIELD_QTY###" id="###FIELD_ID###">
> 
> ?

Exactly.

> So we need now a good naming scheme for the ###FIELD_ID### values.
> 
> Any opions on this matter?

The ###FIELD_ID### would currently only be needed for assigning the 
labels to the correct fields, or can somebody think of another use of a 
unique field id?

What about a simple naming scheme like
ttp_orderfield_01
ttp_orderfield_02
etc. ?

Or if you want to resemble the ###FIELD_NAME### scheme:
ttp_basket_quantity_1

Cheers,
Ro



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