1
Mamba
Experimental modules: mTools and Quotes
  • 2020/11/12 8:38

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Resized Image


Resized Image


Here are two experimental modules to test a new approach to module building.

Originally, when I started to add namespaces to our modules, I also added common classes in /class/Common/

The plan was to group them together, so later on we could move them to one common location for all modules. The new central location would become a kind of "incubator" for common functionality, and the Core team could decide which ones could eventually be moved into XMF (XOOPS Module Framework)

Inspired by what Tad did with his "TadTools", I started to work on "MTools", and this is the first experimental version:

1) Install first the MTools

2) Then you can install "Quotes" module to test it

Thanks to Namespaces, we can now call all the "Common" classes directly from MTools.

Bugs are expected, since this is still in "experimental" phase, but the module should install and when you install the Testdata, it should (hopefully), at least in Admin, show the Quotes and Authors.

FYI: Blocks have not been installed/tested, so don't test them.

REQUIREMENTS:
- XOOPS 2.5.10
- PHP 7+ (works on PHP 8)
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

Login

Who's Online

230 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
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