[TYPO3-mvc] BE module with extbase
Stefan Isak
stefanisak at googlemail.com
Wed Dec 29 14:25:35 CET 2010
Hey,
add to your constants.txt:
module.tx_extkey {
view {
# cat=module.tx_extkey/file; type=string; label=Path to template root (BE)
templateRootPath = EXT:extkey/Resources/Private/Backend/Templates/
# cat=plugin.tx_extkey/file; type=string; label=Path to template partials (BE)
partialRootPath = EXT:extkey/Resources/Private/Partials/
# cat=plugin.tx_extkey/file; type=string; label=Path to template layouts (BE)
layoutRootPath = EXT:extkey/Resources/Private/Backend/Layouts/
}
}
Then go to your setup.txt and add something like:
# Module configuration
module.tx_extkey {
settings < plugin.tx_extkey.settings
persistence.storagePid = 1234
view < plugin.tx_extkey.view
view {
templateRootPath = {$module.tx_extkey.view.templateRootPath}
partialRootPath = {$module.tx_extkey.view.partialRootPath}
layoutRootPath = {$module.tx_extkey.view.layoutRootPath}
}
}
AFAIR have a look at Tx_Extbase_Utility_Extension. I think it's not possible at the moment. But this knowledge is 2 months old.
So long
Stefan
On 29.12.2010, at 13:59, Dawid Pacholczyk wrote:
> Hi List,
> 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
>
> Second thing. How can I set the view on full width with out page tree (like ext manager for example)
>
> Best regards,
> Dawid Pacholczyk
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list