Hi,
Its interesting how drupal use cases stumps you even after years. I was wondering how would one place the same block (lets say user login block) in different regions on different pages (block visibility) in the same theme of course. This question just popped without any req for client work, so there is no urgency but yeah it would be great to know solutions to this use case. I found http://drupal.org/project/multiblock which allows you to create multiple instances, I dont know the internals so dont know how efficient it is, though usage statistics are pretty good for this module.
Does anyone know of other approaches?
Cheers Dipen
Dipen,
Calling the block directly on page.tpl.php.
Shai
Shai Gluskin
On Feb 18, 2010, at 9:41 AM, Dipen dipench@gmail.com wrote:
Hi,
Its interesting how drupal use cases stumps you even after years. I was wondering how would one place the same block (lets say user login block) in different regions on different pages (block visibility) in the same theme of course. This question just popped without any req for client work, so there is no urgency but yeah it would be great to know solutions to this use case. I found http://drupal.org/project/multiblock which allows you to create multiple instances, I dont know the internals so dont know how efficient it is, though usage statistics are pretty good for this module.
Does anyone know of other approaches?
Cheers Dipen -- [ Drupal support list | http://lists.drupal.org/ ]
Or just use:
http://drupal.org/project/multiblock
Jamie Holly http://www.intoxination.net http://www.hollyit.net
On 2/18/2010 12:52 PM, Shai Gluskin wrote:
Dipen,
Calling the block directly on page.tpl.php.
Shai
Shai Gluskin
On Feb 18, 2010, at 9:41 AM, Dipen <dipench@gmail.com mailto:dipench@gmail.com> wrote:
Hi,
Its interesting how drupal use cases stumps you even after years. I was wondering how would one place the same block (lets say user login block) in different regions on different pages (block visibility) in the same theme of course. This question just popped without any req for client work, so there is no urgency but yeah it would be great to know solutions to this use case. I found http://drupal.org/project/multiblock which allows you to create multiple instances, I dont know the internals so dont know how efficient it is, though usage statistics are pretty good for this module.
Does anyone know of other approaches?
Cheers Dipen -- [ Drupal support list | http://lists.drupal.org/ ]
I'm fairly new to Drupal, but I just ran into this issue in relationship to a module I'm building. I got around it by defining two different blocks in hook_block but having them point to the same content function.
Not sure if this is an ideal solution, but it seems to work pretty well if you need something like this in a custom module.
That said, I wasn't aware that multiblock existed and probably would have gone that route had I known about it.
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Dipen Sent: Thursday, February 18, 2010 12:42 PM To: support@drupal.org Subject: [support] Showing same block in different regions.
Hi,
Its interesting how drupal use cases stumps you even after years. I was wondering how would one place the same block (lets say user login block) in different regions on different pages (block visibility) in the same theme of course. This question just popped without any req for client work, so there is no urgency but yeah it would be great to know solutions to this use case. I found http://drupal.org/project/multiblock which allows you to create multiple instances, I dont know the internals so dont know how efficient it is, though usage statistics are pretty good for this module.
Does anyone know of other approaches?
Cheers Dipen
I don't know if it quite really fits this use case, but if you aren't familar with the panels module, you might give it a look. I use it to drop blocks on specific pages more often than I use theme regions.
Dave
________________________________
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Dipen Sent: Thursday, February 18, 2010 9:42 AM To: support@drupal.org Subject: [support] Showing same block in different regions.
Hi,
Its interesting how drupal use cases stumps you even after years. I was wondering how would one place the same block (lets say user login block) in different regions on different pages (block visibility) in the same theme of course. This question just popped without any req for client work, so there is no urgency but yeah it would be great to know solutions to this use case. I found http://drupal.org/project/multiblock which allows you to create multiple instances, I dont know the internals so dont know how efficient it is, though usage statistics are pretty good for this module.
Does anyone know of other approaches?
Cheers Dipen