[support] Block layouts in a specific module.
Michael Prasuhn
mike at mikeyp.net
Mon Jul 23 15:34:46 UTC 2007
On Jul 15, 2007, at 11:26 PM, James McLean wrote:
> Hi All,
>
> I'm working with a custom module that needs to be able to change the
> order of the blocks located on the screen, but only when the module is
> displayed. In the rest of the system the blocks would go back to their
> admin-defined layout.
>
> IE, when you go to http://drupal/mymodule the blocks will be displayed
> in a certain order (of which each user will have their own layout). I
> have built a system that will allow each user to store their own
> layout in the database - I just need to know how to override the
> methods for laying out the blocks in each region (weights, actual
> region to display in, etc)
You could try using panels module, and then set your standard blocks
to not display on that page, or look into the MySite module, it lets
users build their own layout and change it, and you could still set
the default blocks to be hidden on that page.
__________________
Michael Prasuhn
mike at mikeyp.net
http://mikeyp.net
714.356.0168
More information about the support
mailing list