Developer News

Converting old modules to XOOPS 2.5.0 GUI: Tutorial

Mamba  12-Apr-2011 11:13 8600 Reads   11 Comment(s) 
We've talked in the past about releasing updated “XOOPS Module Packs” for our users, focusing on some basic functionalities of the Website, e.g. Personal Website Pack, Community Website Pack, etc.

We are now working on a “XOOPS Basic Module Packs” and our goal is to modify existing modules so all of them have the same consistent GUI and thus increase the user productivity, especially for the first-time users.

Originally we took the GUI idea from the TDM Team's modules, but while we were working on implementing it, Mage came up with a ModuleAdmin class that generates the whole Admin GUI based solely on the Menu definitions in /admin/menu.php and data in xoops_version.php file - see the simplified diagram:

Resized Image

In order to make it easier for other developers to convert their module to this new GUI utilizing Mage's ModuleAdmin class, I've created a set of files helping with this conversion, and a short tutorial showing how to convert xDirectory (you can download the converted module here).


1) Tutorial as PDF file: view it here

2) Conversion Files incl. Tutorial as Zip file: download it here


a) This is just a 1st Draft of the Tutorial, so your feedback and improvement suggestions are appreciated. Please help us to make it simple and easy to read and follow.

b) Please also let us know any ideas/suggestions that you might have about improving the Module GUI:

- beginners and first-time XOOPS users: how can we make the GUI simpler and more user friendly for you?

- experienced module developers: how can we make it better? Is this ModuleAdmin class making module development easier for you?

Please discuss the GUI and the Tutorial in this thread.

Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Who's Online

234 user(s) are online (19 user(s) are browsing Publisher)

Members: 0

Guests: 234



Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits