Block Theme and Block Class modules are being overridden by the theme

m.rademacher - March 9, 2009 - 18:19
Project:Newswire
Version:6.x-3.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I cannot get the Block Theme or Block Class modules to work with this theme. I worked with the dev on Block Class, and he says it is getting overridden by the theme:

http://drupal.org/node/393124

I'd appreciate any help you can offer to get one of these two modules to work. Thanks!

#1

venusrising - October 31, 2009 - 08:31

I have the same issue even when adding in the block style sheet Css etc.

#2

Jeff Burnz - October 31, 2009 - 09:09
Status:active» postponed (maintainer needs more info)

Please describe in more detail what you are doing and what is happening or not happening.

#3

venusrising - October 31, 2009 - 10:49

I am having trouble getting the blocktheme module to work with this theme. I am not sure if it because this theme has blocks styled by columns (sorry not a CSS Pro.)
I have:
1. Added blocktheme tpl files to theme
2. Added blocktheme Css to theme
3. Configured Blocktheme (it works with other themes on our site.)
4. The theme will show up when configuring blocks but when we select it nothing changes.
I saw on your AT site you say something about adding the $blocktheme variable but you are speking of Genesis theme and your tutorial focuses on using BT via region but we need the ability to use on a block basis.

We are using Devel and Firebug but I cannot figure out why it will not apply the theme, even after clearing cache etc.
Thanks for any input you may have about this!

#4

Jeff Burnz - November 1, 2009 - 01:35

What you have to verify is:

1) is your custom template being used?
2) if you are using the $blocktheme variable to print the custom class in the blocktheme template as well, is that variable being printed?

I have tested this with Newswire and it works as expected. I have used this module quite a lot in the past and have had no issues.

I wonder if your issues is with the CSS you are using?

#5

venusrising - November 3, 2009 - 05:28

When using a previous theme the protocol was to create the css and tpl files for the theme
add that to the theme folder
Go to blocktheme admin and add blocktheme name to admin area.
What I was hoping to do was use the default Newswire scheme unless a blocktheme is selected is this possible or is it one or the other.
I assume if I need to use the variable I must overwrite block.tpl.php?
Thanks for you help and please do let us know when AT gets ready for business.

 
 

Drupal is a registered trademark of Dries Buytaert.