[TYPO3-shop] tt_products target

Franz Holzinger franz at ttproducts.de
Thu Jan 15 07:08:43 CET 2009


Franz Holzinger a écrit :
>> the target should be "detail-frame" and on another page it should be
>> "_self" or none...
>>
>> Can I in TS write something like:
>>
>> plugin.tt_products.target = detailframe
>>
>> I have changed the "class.tx_ttproducts_list_view.php" file:
>>
>> $wrappedSubpartArray['###LINK_ITEM###'] = array('<a
>> target="detailframe" alt="" href="'. $pageLink .'"'.
>> $css_current.'>','</a>');
>>
>> - but it only gives me one new target. I need to be able to add
>> different targets for different pages...

This has been wrong:
> $wrappedSubpartArray['###LINK_ITEM###'] = array('<a 
> target="'.$this->conf['detailframe']." alt="" href="'. $pageLink 
> .'"'.$css_current.'>','</a>');

$wrappedSubpartArray['###LINK_ITEM###'] = array('<a 
target="'.$this->conf['target']." alt="" href="'. $pageLink 
.'"'.$css_current.'>','</a>');

- Franz




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