[TYPO3-shop] using IMAGE function

Franz Holzinger franz at fholzinger.com
Tue Feb 19 21:21:55 CET 2008


sebastian gereck a écrit :
> hello,
> i've tried to use the IMAGE -function like that
> in class basket_view but it doesn't work.
> 
> $imgarray = Array()
> $imgarray['file'] = $path_to_pic ;
> $this->cObj->IMAGE( $imgarray );
> 
> the code works in my own extension but not in tt_products.

But the basket view class has no $this->cObj  :-o .
You must use $this->pibase->cObj


- Franz




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