[TYPO3-shop] Back to list product from single view

sorn sun.sorn007 at gmail.com
Tue Feb 1 02:41:38 CET 2011


Hello franz,

I had try with NoSingleViewOnList = 1, but it still not work.

I have solve it by:
- in ext/tt_products/view/class.tx_ttproducts_single_view.php
change

$linkUrl=tx_div2007_alpha::getPageLink_fh002($this->cObj,$linkPid,'',$this->marker->getLinkParams('',$addQueryString,TRUE,FALSE,$viewCatTable->piVar),array('useCacheHash'=>TRUE));

to

$linkUrl=tx_div2007_alpha::getPageLink_fh002($this->cObj,$linkPid,'','',array('useCacheHash'=>TRUE));

it work.
is it a right way to solve this problem?

Thanks,
Sorn.


On 01/31/2011 04:04 PM, Franz Holzinger wrote:
> Le 31/01/2011 05:58, sorn a écrit :
>> in single view page i have link back to product list:
>> <!--###LINK_ITEM###--><Back to the list<!--###LINK_ITEM###-->
>> or
>> http://local.demo/product-list/food/?tt_products[product]=7
>>
>> it not work when i click back to product list.
>
>
> NoSingleViewOnList = 1
>
>
> - Franz


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