[TYPO3-formidable] Template methods

Michael Paffrath michael.paffrath at gmail.com
Fri Dec 3 20:25:12 CET 2010


Good evening everybody,

i have a general understanding problem and i hope that you can help me.

Using formidable version 1.1.373
In a listing i am also showing images. To manipulate these images i  
use this code:
<column name="bigphoto" type="renderlet:TEXT" listHeader="">
	<recombine>
		<userobj>
			<php><![CDATA[/*<?*/
				$aRowData = $this->oDataHandler->_getListData();
				$image = explode(",",$aRowData['photo']);
				$path = "uploads/tx_myext/";
				return '<a href="#" class="storypicture"/>'.$this->oSandBox- 
 >getImage($path.$image[0],300,500).'</a>';
		  /*?>*/]]></php>
	  	</userobj>
	 </recombine>
</column>

The function in the sandbox renders a temp-image for me.

Now when i´m using the same code with formidable version 2.0.421 i get  
the error:
[bigphoto] /recombine is deprecated. You should use template methods  
instead

How can i use the template methods to get the same result as above?

Have a nice weekend,
Michael


More information about the TYPO3-project-formidable mailing list