Proposal for dynamic blocks
Date: Friday, March 05 @ 15:48:39 CET
Topic: PHP-Nuke


I think it would be great to support dynamic blocks (left and right blocks) at least for the different modules.

Following changes should be easy. Add a field Modul in the nuke_blocks table. When creating a new block (or modifying an exisiting) offer the possibility to choose the name of the existing modules or 'ALL'.

Modify the mainfile to load only the blocks which are set 'ALL' or have the actual Modulname in the field module of the nuke_blocks table.

Dynamic menus are done!!!

Eventually the bposition field in nuke_blocks must be adapted to accept an integer value and instead of managing this value automatically, the user can edit the position of a block manually in Block Admin.

But F.B. does never answer to mails! My proposal is very easy to realize and would be a great step forward to context depending blocks!







This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=1687