[TYPO3-shop] tt_products 2.4.10

Tim Riemenschneider lists-05 at tim-riemenschneider.de
Wed Jun 21 14:07:30 CEST 2006


Robert Markula schrieb:
> The itemnumber cannot be used because according to the XHTML 1.0 
> strict/CHTML 1.1 specification the id must begin with a letter, not a 
> digit.
> 
This is easy:
instead of
<INPUT size="8" maxlength="10" type="text" name="###FIELD_NAME###"
value="###FIELD_QTY###" id="###PRODUCT_ITEMNUMBER###">

use
<INPUT size="8" maxlength="10" type="text" name="###FIELD_NAME###"
value="###FIELD_QTY###" id="item_###PRODUCT_ITEMNUMBER###">

that is, simply put a constant prefix into the template.
cu
   Tim



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