[TYPO3-shop] Describing page > include complete page

Maarten ten Brinke mtenbrinke at sundayafternoon.nl
Sun Jan 11 19:52:28 CET 2009


Hi Franz,

Thank you for your suggestion. I'm not a real php-programmer, so I'm not 
  confident enough to dive into this right now. Maybe I will, when I am 
finished with the rest of the shop. Please let me know if there are any 
developments related to this topic.


Maarten

Franz Holzinger schreef:
> Hello Maarten,
> 
>> ###PRODUCT_NOTE_UID_1_title###
>> ###PRODUCT_NOTE_UID_1_1_TEXT_bodytext###
>>
>> 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?
> this is not possible.
> 
> You can write the field feature for the tt_content table from the 
> manual. The code is in the file 
> tt_products/view/class.tx_ttproducts_product_view.php.
> It should be inserted after the modifictaions by displayFields on line 
> 242. The same markers shall be reused. Send me the patch via email.
> $pid contains the page id.
> 
> - Franz
> 


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