Return to Snippet

Revision: 46806
at May 25, 2011 21:06 by pogosheep


Initial Code
$this->extPath = t3lib_extMgm::extPath($this->extKey);
$view = t3lib_div::makeInstance('Tx_Fluid_View_StandaloneView');
$view->setTemplatePathAndFilename($this->extPath . 'templates/test.html');
$view->assign('helloworld', 'Hello World...and so on...');
$content = $view->render();

Initial URL
http://wiki.typo3.org/User:Layne_obserdia/Extbase

Initial Description
You can use fluid for example in oldschool plugins without using extbase.

Initial Title
Use Fluid standalone

Initial Tags
plugin, template

Initial Language
PHP