[TYPO3-commerce] Add link from single view back to list view

Christoph Nikic cnikic at elmos.de
Mon Aug 13 11:38:53 CEST 2007


Hi,

afaik theres no such marker. But you can add it easily via the hook:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['commerce/lib/class.tx_commerce_pibase.php']['singleview'][] 

= 'your_hook_class';

In your class add the method additionalMarker with the parameters 
$markerArray and $singleViewPlugin.

Then create a link with the 
$singleViewPlugin->product->getField('category');
as GetVar value of tx_commerce_pi1[catUid]

and return the new markerArray

best regards,

Christoph Nikic


Karsten Dambekalns schrieb:
> Hi.
> 
> Personally I prefer the browser's back button, but the client asks for a 
> link in product detail view that points back to list view.
> 
> Is a marker for that availlable? Or any other out-of-the-box way of 
> doing that?
> 
> Regards,
> Karsten
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-commerce



More information about the TYPO3-project-commerce mailing list