admin-page in a module

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
Krol

admin-page in a module

Post 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?
Krol

Re: admin-page in a module

Post by Krol »

I found the error: an include problem with an other config.php
Post Reply

Return to “Developers Discussion”