Standard Admin Pages
Last updated
Last updated
The next generation Xoops\Module\Admin
makes a few changes to the module administration class methods. With you can begin using the new methods now for forward compatibility.
Here are examples of the standard index and about pages.
An example index page in the current 2.5 format:
Forward compatible version using XMF:
An example about page in the current 2.5 format:
Migration ready using XMF:
Note the setPaypal() call. In the next generation, PayPal information is set in xoops_version.php instead as a parameter to renderAbout(). The call satisfies the requirements in 2.5 systems, and will cause no harm in later versions, but accomplish nothing.
Use these examples and apply the concepts to any other administration scripts your module uses to make them forward compatible, too.