[TYPO3-mvc] Backend module outside of web or tools?
Dennis Ahrens
dennis.ahrens at googlemail.com
Tue Jul 27 13:07:41 CEST 2010
Hi Daniel,
Daniel Dimitrov wrote:
> I've tried this, but I couldn't see the module anywhere. And is this the
> "old" v4 style??? Could you post a full example please?
in your ext_tables.php:
if (TYPO3_MODE == 'BE') {
t3lib_extMgm::addModulePath('txfhhlibmain',
t3lib_extMgm::extPath($_EXTKEY) . 'mod_fhhmain/');
t3lib_extMgm::addModule('txfhhlibmain', '', '',
t3lib_extMgm::extPath($_EXTKEY) . 'mod_fhhmain/');
}
in addition you have the folder mod_fhhmain, that includes the
module-code (which does nothing, because it's just a main module).
content of the module folder looks like this:
-rw-rw-r-- 1 dahrens www-data 640 19. Jan 2010 conf.php
-rw-rw-r-- 1 dahrens www-data 6884 5. Jan 2010 index.php
-rw-rw-r-- 1 dahrens www-data 746 5. Jan 2010 locallang_mod.xml
-rw-rw-r-- 1 dahrens www-data 584 5. Jan 2010 locallang.xml
-rw-rw-r-- 1 dahrens www-data 82 5. Jan 2010 moduleicon.gif
regards
Dennis
More information about the TYPO3-project-typo3v4mvc
mailing list