xoops forums

Mamba

Moderator
Posted on: 2011/4/1 22:15
Mamba
Mamba (Show more)
Moderator
Posts: 10777
Since: 2004/4/23
#1

Marquee 2.49 GUI Change - ready for testing

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:

Resized Image

The "About Page" is also automatically generated:

Resized Image

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!
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

jcweb

Quite a regular
Posted on: 2011/4/2 10:47
jcweb
jcweb (Show more)
Quite a regular
Posts: 253
Since: 2005/4/25
#2

Re: Marquee 2.49 GUI Change - ready for testing

Hi
I only will remember, i can check and or create german language files (utf-8), my question is, are the english language files complete so i can start? Contact me for the other modules you and some xoops friends did modify, i will create and check the language files too!

Greets Andy