[TYPO3-dev] naming scheme for markers with mm table relation to another table
Franz Holzinger
franz at fholzinger.com
Fri Sep 15 12:12:28 CEST 2006
Hello,
which naming scheme should I introduce for markers which have a
reference to a field in another table via a mm table?
Currently we have the marker ###PRODUCT_NOTE### for the 'note' field of
the products table.
Now it is needed to extend this a little. Also content elements on some
pages shall be displayed as product notes. This will be done by a new mm
table from products to pages. Then the content elements on these pages
will get counted. The new field on the tt_products table will be 'note_uid'.
But it would be fine to have a common naming scheme for such relations.
E.g. for one product A there will be 2 pages PA and PB with content
elements CA1, CA2 on page PA and CB1 on page PB.
proposals:
###PRODUCT_NOTE_UID:1:1### ... the content element on the first page and
the first content element of it.
###PRODUCT_NOTE_UID:2:1### ... the content element on the second page
and the first content element of it.
###PRODUCT_NOTE_UID:1:2### ... the content element on the first page and
the second content element of it.
###PRODUCT_NOTE_UID_1_1###
###PRODUCT_NOTE_UID|1|1###
###PRODUCT_NOTE_UID-1-1###
Or maybe there should also be some info inside of the marker about the
type of the content element, which could be a text, an image, a plugin etc..
###PRODUCT_NOTE_UID_TEXT_1_1### the content element on the first page
and the first text content element of it
###PRODUCT_NOTE_UID_IMAGE_1_1### the content element on the first page
and the first image content element of it
Greets,
Franz
More information about the TYPO3-dev
mailing list