Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
block.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2009 at 16:38 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
izmeez commentedThis may be exactly what I need. I'll have to learn about testing patches to core.
Izzy
Comment #2
manuel garcia commentedAs far as I know, the block configuration is independent for each theme. Meaning you can already setup different blocks in different regions per theme. This is default beahviour.
So If I am understanding your problem correctly, this functionality is already there.
Comment #3
izmeez commentedSorry, I have no experience with D7. I am using the current version of D6.
Yes, the current D6 behaviour does allow the blocks to be configured for each theme, however, when changes are made to the block configuration for a theme other than the default theme and the submit button is clicked the display reverts back to the default theme and does not stay on the theme that is currently being configured.
I think this does not occur when blocks are being arranged in different regions but when blocks are being individually configured.
Furthermore, and may be this should be a separate issue, when different themes are being used and blocks are enabled, the settings of the blocks are not used by the new theme right away. It is necessary to click configure and save each block just to have the settings take effect, such as title to use for the block.
Hope that helps provide some clarity and I hope this is the right place to add these comments.
Izzy
Comment #4
manuel garcia commentedI see what you mean imeez. I've set the version to 7.x-dev because feature requests only go to the dev version of 7, d6 is only bug fixes.
However, I'm not sure wether this should be considered a bug, nor have the necessary php skills to check your patch. Just trying to help here :)
Let's do this, I'll set it to 6.x-dev, as a bug report and as needs review so it gets attention. We'll see what happens.
Greetings
Comment #5
osmanI have the same problem. I have a 2 themes website. I need to set the same blocks in different regions with different visibility options and different titles. Since the contents are the same or dynamically generated by Views, Menu Block, etc. creating new blocks wouldn't make sense.
Plus, the core block.module should have been capable of managing blocks separately for each theme already. After a little research I found there are already some open issues.
Jeff, thank you for supplying the patch. When I compared your solution against other similar solutions, your approach seemed more clean and direct actually.
I updated your patch against Drupal core 6.x-dev (2012-Feb-29), and made minor changes and I am attaching here for review.
With the attached patch,
Hopefully this patch will be helpful.
Cheers,
Osman