1
Mage came up with a very cool Module Admin class that generates the whole "2.5.0 Admin GUI" directly from the Menus.
Once you set you Menu structure with links to images, you can generate the 2.5.0 Module Admin with this:
$index_admin = new ModuleAdmin();
echo $index_admin->addNavigation('index.php');
echo $index_admin->renderIndex();
echo $index_admin->renderAbout();
And this is the result:
The "About Page" is also automatically generated:
It couldn't be easier!
I have updated
Marquee with this new structure, so please download it from
here, test it and let us know what you think.
This is a very exciting development, as it will make module development much easier and the Admin GUI more standardized
Once this is tested OK, I'll update the other modules with the some Module Admin class, and then we'll work on the
TDMCreate module to include this methodology there.
Of course, any and all improvement suggestions are welcome! Please help us in making XOOPS module development easier, faster, and of higher quality.
Please note that we have
more modules to be converted and tested, so please help us out.
Once again -thanks to Mage for this cool class!