[Typo3-dev] BE extension modules

Markus Lange markus.lange at bgm-gmbh.de
Thu Feb 19 09:35:48 CET 2004


Hi Simon,


> Simon Child said:
> 1) If (using the kickstarter) I select the option "New Main Module" then I
> can create a title for a section on the menu. But it is module in itself,
> not just a title (it is a clickable link, which runs the dummy module
> code).
> I just want a title for a section.
edit file mod1/conf.php
uncomment the line
$MCONF["script"]=index.php

now you have a dummy module

notice the name NAMEofMAINMODULE from
$MCONF["name"]="NAMEofMAINMODULE";

> 2) Having sorted that out, how do I place my modules under that title? (NB
> I
> want non-admin be-users to be able to access these new modules). The
> kickstarter doesn't offer the option to put my modules under my new title,
> and manually editing conf.php and ext_tables.php doesn't seem to work
> either.
edit
mod1/conf.php of 'submodule'
change
$MCONF["name"]= "NAMEOFSUBMODULE";
to
$MCONF["name"]= "NAMEofMAINMODULE_NAMEOFSUBMODULE";

thats it!

just an advice:
edit file ext_emconf.php
of your submodule and set
dependencies=name_of_mainmodule_extension

for access for non-admins set
$MCONF["access"]="user,group";
in both modules

beware: user must have both modules (main and sub) in web_mosdules



hth

greetings Markus


-- 
Markus Lange
business group munich GmbH
Tel.   + 49 89 / 660 7 999 - 36
Fax   + 49 89 / 660 7 999 - 10
Mobil + 49 173 / 57 06 453
www.bgm-gmbh.de
http://typo3.bgm-gmbh.de






More information about the TYPO3-dev mailing list