[TYPO3-mvc] Seperate fluid templates for backend module

Pascal Geldmacher pgeldmacher at best-mediaforge.com
Tue Mar 30 07:23:25 CEST 2010


Am 29.03.2010 22:28, schrieb Andy Grunwald [wmdb]:
> Hey,
>
> today i have a look at extbase / fluid / blog_example.
> I wanted to start with my first backend module in the new structure.
>
> I´ve created a Controller, Templates and so on like the blog_example.
> The Templates are stored in
> Resources/Private/Backend/Templates/ControllerName/ActionName.html.
> But there was no output in the backend module.
>
> I`ve copied this template to
> Resources/Private/Templates/ControllerName/ActionName.html. And voila
> there is an output (I`ve fille sthe template only with the string "test").
>
> I´ve modified the templates from the blog_example, too.
> But it seems so, that the Templates in Resources/Private/Backend/* are
> not affected.
> Could you reproduce this problem?
>
> Checkout the blog_example and modifiy
> Resources/Private/Backend/Templates/blog/index.html with a word (for
> example "Hello World"). It would not be published.
> Now modifiy Resources/Private/Templates/blog/index.html with another
> word (for example "Hello World 2"). It would be published.
>
> It is the same with another extbase extension it is called "yag":
> https://svn.typo3.org/TYPO3v4/Extensions/yag/trunk/
>
> I´m using the following versions:
> blog_example: Revision 2135
> TYPO3: Revision 7222
> (https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-3)
>
> Thanks for your time and have a nice evening.
>
> Andy

Hey,

Have u set the Controller with the action name in the ext_tables.php ?

For example something like this:

Tx_Extbase_Utility_Extension::registerModule(
		$_EXTKEY,
		'web',					
		'web'
		'',	
		'',
		array(
		'ControllerName=>'actionName',																	
			),
		array(
			'access' => 'user,group',
			'icon'   => '',
			'labels' => 'LLL:EXT:' . $_EXTKEY . 
'/Resources/Private/Language/locallang_mod.xml',
		)
	);

Greetings
Pascal


More information about the TYPO3-project-typo3v4mvc mailing list