Page 1 of 1

admin-page in a module

Posted: Fri Mar 11, 2005 5:35 pm
by Krol
I would like to know the way to add an admin-page for the CMS Adminsystem into a module.
I looked at TinyMCE.module.php and tried it almost the same way in my own module.
It then appears in the 'module'-list on the CMS Adminsystem.
But when I click on my module I get this error:
Fatal error: Cannot redeclare class config in c:\programme\apachefriends\xampp\php\pear\Config.php on line 43
I added the "hasAdmin"-function, a case 'defaultadmin' and of course a function to display in the Adminsystem.
Did I left something out?

Re: admin-page in a module

Posted: Sun Mar 13, 2005 1:44 pm
by Krol
I found the error: an include problem with an other config.php