[TYPO3-dev] which naming scheme for a CSS XHTML id

Franz Holzinger franz at fholzinger.com
Thu Jun 8 09:01:49 CEST 2006


Hello,

Robert Markula currently wants to improve tt_products with ids for
generating a CSS styled shop template.

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

So I propose to use these example ids:

tt_products_list_id_01

tt_products_listhighlights_id_01

tt_products_basket_id_01

tt_products_single_id_01

Each product/article will get another number at the end. The middle part
contains the code field which can have been generated internally from
the activity parameter.

Just tell me now if I should follow another naming scheme for ids.


Greets,

Franz




More information about the TYPO3-dev mailing list