[TYPO3-mvc] BE module with extbase

Franz Koch typo3.RemoveForMessage at elements-net.de
Wed Dec 29 14:33:36 CET 2010


Hey,

> I have problem with creating BE module for my extbase extension. I`m
> looking on blog_example and I can`t get it.
>
> First of all how force ext to look in Resources/Private/Backend
> My extension even in BE looks for template in Resource/Private/Templates

do you have the according TS configuration for your backend module?

  # Module configuration
module.tx_extkey {
	view {
		templateRootPath = {$module.tx_extkey.view.templateRootPath}
		partialRootPath = {$module.tx_extkey.view.partialRootPath}
		layoutRootPath = {$module.tx_extkey.view.layoutRootPath}
	}
}

The usage of constants if of course optional.


> Second thing. How can I set the view on full width with out page tree
> (like ext manager for example)

If you have a pagetree or not depends on the module section you place 
your backend module in. If you place it under "web" then you 
automatically get the pagetree as the "web" main module/section is 
providing it. I don't know of a way to override that, but that doesn't 
mean that there might not be one.

But in general if you don't make your module a submodule of "web" but 
make it a own main module, then it should by default not have a pagetree.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list