Hello
I'm new with drupal (5.2):
I copied the garland theme (without minelli folder) to a new folder in the theme directory, renamed it and made it the default theme (still using garland as admin theme). I assigned two blocks to the right sidebar. The right sidebar shows up in garland but not in my new theme. The body class in the new theme is "sidebar_left", means the right sidebar is empty (according to template.php as I understand).
I didn't make any other changes to the new theme, neither to the stylesheets nor to the templates. I checked all configuration options, but couldn't find the solution. Blocks are assigned to show for all users on all pages. Caching is off. If I use garland as default theme, right sidebar is displayed again on all pages, body class being "sidebars".
What am I missing? - Any help appreciated.
Thanks Richard
Richard,
Theming isn't my specialty, but since no one has responded yet...
Try putting the copied Garland folder in /sites/all/themes (you need to create this directory if you haven't already, doesn't come as part of a standard install) instead of in /themes.
Let's know what happens.
Shai
On 9/18/07, Seitenweberei.ch kontakt@seitenweberei.ch wrote:
Hello
I'm new with drupal (5.2):
I copied the garland theme (without minelli folder) to a new folder in the theme directory, renamed it and made it the default theme (still using garland as admin theme). I assigned two blocks to the right sidebar. The right sidebar shows up in garland but not in my new theme. The body class in the new theme is "sidebar_left", means the right sidebar is empty (according to template.php as I understand).
I didn't make any other changes to the new theme, neither to the stylesheets nor to the templates. I checked all configuration options, but couldn't find the solution. Blocks are assigned to show for all users on all pages. Caching is off. If I use garland as default theme, right sidebar is displayed again on all pages, body class being "sidebars".
What am I missing? - Any help appreciated.
Thanks Richard -- [ Drupal support list | http://lists.drupal.org/ ]
On Tuesday 18 September 2007 04:56:02 Seitenweberei.ch wrote:
Hello
I'm new with drupal (5.2):
I copied the garland theme (without minelli folder) to a new folder in the theme directory, renamed it and made it the default theme (still using garland as admin theme). I assigned two blocks to the right sidebar. The right sidebar shows up in garland but not in my new theme. The body class in the new theme is "sidebar_left", means the right sidebar is empty (according to template.php as I understand).
I didn't make any other changes to the new theme, neither to the stylesheets nor to the templates. I checked all configuration options, but couldn't find the solution. Blocks are assigned to show for all users on all pages. Caching is off. If I use garland as default theme, right sidebar is displayed again on all pages, body class being "sidebars".
What am I missing? - Any help appreciated.
Thanks Richard
Blocks are set per theme. Since you are using a copy of Garland for your main theme and Garland for your admin theme, it would be easy to accidentally set the blocks for the wrong theme. I would go back and verify the blocks are set for the correct theme. Also, you might clear your caches (using the devel module at http://drupal.org/project/devel) to make sure that isn't causing the problem.
Moving my theme to sites/all/themes and my extra modules to sites/all/modules didn't resolve the problem, but thanks for pointing out that better practice.
Using the taxonomy_theme module, I had assigned garland as theme for all admin nodes (admin/*). So when I was on the block page, I probably always changed the settings for garland, although I had chosen to change the settings for my new theme on top of that page.
May also have been some cache problem, because I had deactivated taxonomy_theme before but never saw any change.
Now everything works fine. Thanks a lot.
Richard
Jason Flatt schrieb:
On Tuesday 18 September 2007 04:56:02 Seitenweberei.ch wrote:
Hello
I'm new with drupal (5.2):
I copied the garland theme (without minelli folder) to a new folder in the theme directory, renamed it and made it the default theme (still using garland as admin theme). I assigned two blocks to the right sidebar. The right sidebar shows up in garland but not in my new theme. The body class in the new theme is "sidebar_left", means the right sidebar is empty (according to template.php as I understand).
I didn't make any other changes to the new theme, neither to the stylesheets nor to the templates. I checked all configuration options, but couldn't find the solution. Blocks are assigned to show for all users on all pages. Caching is off. If I use garland as default theme, right sidebar is displayed again on all pages, body class being "sidebars".
What am I missing? - Any help appreciated.
Thanks Richard
Blocks are set per theme. Since you are using a copy of Garland for your main theme and Garland for your admin theme, it would be easy to accidentally set the blocks for the wrong theme. I would go back and verify the blocks are set for the correct theme. Also, you might clear your caches (using the devel module at http://drupal.org/project/devel) to make sure that isn't causing the problem.