[TYPO3-mvc] Fluid and LaTeX

mario chiari m at mariochiari.net
Thu Jul 21 17:40:55 CEST 2011


Hello Lienhart, All


Nope. I am not able to put the pieces together.
Your patch seems ok, but I do not understand how to use it. May I call
from within my actions the new methods
Tx_Fluid_Core_Parser_Configuration::get/setShortHandOpenSymbol() ? 
How? 

I do not see the trick on how to define a new View class either.

Clearly, I am a newbie to extbase, and looking for a further hint.

thanks
mario


ps 
public function texAction() {
                
include_once('mario.php'); \\ tex-pdf output machinery
$new = new Mario;
$this->view->setTemplatePathAndFilename($this->view->getTemplateRootPath().'/Autore/Tex.tex'); 
$this->view->???????->setshortHandOpenSymbol('\fluid{');  
<<<< how do I fix line above?!!!!
$autores = $this->autoreRepository->findAll();
$this->view->assign('autores', $autores);
$new->texIt($this->view->render()); 
	}


On Wed, 2011-07-20 at 11:09 +0000, Lienhart Woitok wrote:
> Hello Mario,
> 
> ....

> And finally, back then, I created a patch for Fluid which allows to
> use something other than { and } for object accessors and short hand
> syntax. See http://forge.typo3.org/issues/7608. But I'm not sure if
> this patch still cleanly applies.
> 
....



More information about the TYPO3-project-typo3v4mvc mailing list