[Typo3-dev] Backend Module

Wolfgang Klinger wolfgang at stufenlos.net
Wed Feb 23 10:05:33 CET 2005


 Hi!

 On Wed, 23 Feb 2005, Parul wrote the following:
> I have created a backend module but only admin can access that module because for other non admin backend users the following condition becomes false:
> if (($this->id && $access) || ($BE_USER->user["admin"] && !$this->id)).
> {
> modulecontent comes here
> }
> The reason why the condition becomes false is, $this->id is '0'. I don't understand why this module has id as zero.
> Can anyone help.
> 
 
 If it's not a "Web" module you have no page tree and without a page
 tree you have no "id"...


 bye
 Wolfgang






More information about the TYPO3-dev mailing list