[TYPO3] tt_products: How to target images in products list to the single view?
Ali -
saveez at hotmail.com
Wed Jan 18 03:19:20 CET 2006
By default, the only option in tt_products for manipulating products images
is to magnify them in a new window by setting the following parameters:
clickEnlarge = 1
clickEnlarge_list = 1
clickEnlarge_basket = 1
First of all, there is a minor error in the source code when setting
'listImage' properties:
istImage < .image
listImage.file.maxW = {$plugin.tt_products.maxW_list}
listImage.file.maxH = {$plugin.tt_products.maxH_list}
listImageLinkWrap = {$plugin.tt_products.clickEnlarge_list}
The last line should be changed to:
listImage.imageLinkWrap = {$plugin.tt_products.clickEnlarge_list}
Here is the question: how is it possible to set the images in the products
list in a way that by clicking it the corresponding single view can be
opened, ie, the image acts like the PRODUCT_TITLE link?
One way of doing this could be by:
listImage.imageLinkWrap {
enable = 1
typolink.parameter = theTargetID _self
}
but I do not know what is the right code for 'theTargetID' without modifing
the php code.
-Ali
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.com/
More information about the TYPO3-english
mailing list