[Typo3-dev] Backend Module

Parul parul at srijan.co.in
Wed Feb 23 07:47:49 CET 2005


Hi All,
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.

Parul Misra
Srijan Technologies.
email:parul at srijan.co.in
website:www.srijan.co.in




More information about the TYPO3-dev mailing list