[TYPO3-shop] Describing page > include complete page

Maarten ten Brinke mtenbrinke at sundayafternoon.nl
Thu Jan 8 08:40:07 CET 2009


Hi all,

I was wondering what the field 'Describing pages:' can do in the 
"Products" record. When I include there a page where I made a full 
description I have noticed that I can include this content in the 
template by markers as:

###PRODUCT_NOTE_UID_1_title###
###PRODUCT_NOTE_UID_1_1_TEXT_bodytext###

On one hand this is very useful, because you can re-layout all content 
elements from this included page. But for me it would be better to be 
able to layout the page through normal content management (with 
different types of content), and include it as such in the single view 
of a product.

I'm thinking of making a marker myself (PRODUCT_DESC_TEST) by code 
similar to this:

plugin.tt_products.marks{
PRODUCT_DESC_TEST = COA
PRODUCT_DESC_TEST  {
10 = TEXT
10.value = TEST TEST
}
}

But I don't know how I could retrieve the pid value of the included page 
(of the active single product) and place it in the marker.

I was wondering if there is already a marker that could do this? If not, 
  could someone point me in the right direction for writing the code for 
creating a marker?

Thanx,

Maarten


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