Modules

SmartBlocks - Extended blocks management

Mithrandir  14-Dec-2006 12:58 8318 Reads   18 Comment(s) 
I'll let you in on a little secret: I have never been a fan of the XOOPS 2.0.x blocks system.

The blocks themselves are ok, but why do I only get one of each that can be either visible or not?

With XOOPS 2.2 I changed that, but since that branch is no longer carried on, I decided that we needed similar functionality for XOOPS 2.0.x until XOOPS 2.4 hopefully makes it obsolete to think about these workarounds.

So here it is:
SmartBlocks, developed by Cusix Software based on the Flexblocks module from Fyens Stifstidende and - as the name implies - now handed over to the SmartFactory for further development.

SmartBlocks comes with eight blocks - one for each XOOPS block position - and should be set visible to all on all pages in their corresponding position.

Adding blocks to a page is done through the SmartBlocks module, where each module can provide a customised resolver class to define which pages are available and which page, the user is viewing. Alternatively, the resolver classes can be put in the /smartblocks/class/resolvers/ folder, where there are already a few resolvers to look at.

The resolver-defined pages are set in a hierarchy, where blocks can be set to "fall down" on subpages. This makes the front page merely the top of the hierarchy, the modules are the next level and then comes the module-defined subpages.

Please note that the module requires:
*PHP 5.0+
*XOOPS 2.0.16
*SmartObject v0.9

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


Login

Who's Online

241 user(s) are online (12 user(s) are browsing Publisher)


Members: 0


Guests: 241


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

Categories