On this week's podcast, Bob shows that he's fallen in love with yet another Drupal module. This time, it's the Block Theme Module. This week you'll see how the module works and how it makes it so very easy to make all your blocks look differently by throwing one convenient switch in the Drupal UI. It's more Drupal goodness...Enjoy!
cool
This module rocks. I love flexible CSS and this module does that. Thanks for sharing that.
excellent! magnificent! :D
excellent! magnificent! :D Keep up the good work :)
Where to but the name of the class?
Love your Podcasts very much!
Trying to theme Blocks in the Theme "Salamander", I get nuts where in the first line to put my new class into. Could anybody give me a hint, maybe the master himself? Here this first line:
module; ?>" id="block-<?php print $block->module; ?>-<?php print $block->delta; ?>">Greetings from Brussels
JUlearn
wow this really brings the
wow this really brings the power of CC into drupal which I have always enjoyed in Wordpress & simple xhtml files and great podcast displaying the use of this module.
I've wanted this funtionality for ages!!
This is great. I've wanted blocks to have this kind of functionality for ages.
Theming Views
Hi Bob,
Thanks for the informative and understandable Drupal podcasts. This is the best Drupal tutorials website so far.
Drupal is very easy to use and customize when you know the stuff but when you are a Drupal toddler like me, it's very difficult to figure out how things should be done.
If it is possible, please include podcast topics like Theming Views or Theming Teasers. I couldn't find anything about those that really worked for Drupal 6.
Thanks and warmest regards,
Mariyana
add the following to [yourtheme]_block($block) in template.php
Hi,
Great vid and great idea - obviously it works for some folks but I cannot get it to work.
I am running Drupal 5.14 using a subtheme of zen I created. I copied/renamed the block.tpl.php file(s) as in your tutorial. They show up in the admin section as they should and i can assign them in the configure/block section. I see there is a caveat for Drupal 5.x that reads...
====
4. add the following to [yourtheme]_block($block) in template.php:
if (module_exists('blocktheme')) {
if ( $custom_theme = blocktheme_get_theme($block) ) {
return _phptemplate_callback($custom_theme,array('block' => $block));
}
}
return phptemplate_block($block);
====
I do not have [yourtheme]_block($block) in my template.php file (which I copied into the subtheme folder from the zen folder). I looked in another themes template.php file and do not see the [yourtheme]_block($block) in there either.
The closest thing I can find is...
function Taleo_Talent_Management_preprocess_block(&$vars) {
$vars['sample_variable'] = t('Lorem ipsum.');
}
Any help from anyone would be greatly appreciated.
Thank you!
Jim Summer
tentonjim <> gmail.com
Have the same problem
Has anyone gotten back to you about that? Did you get anything to work?
Same problem as Jim
add the following to [yourtheme]_block($block) in template.php . . .
How do I do this with a Zen subtheme
Wow!
Wow!
I am able to do what has been explained.
Wow!
i have installed and enabled
i have installed and enabled the module but i have no block theme settings, this is drupal6.9 block theme 6.x-1.0-beta1
Thanks Man
Thanks for enplaning this, better than reading the readme file, i will look throght the rest of your site and stumble upon it for other to find..
Great Job
Thank You
Thank You
Thank You
Thank You
I am having trouble
I did absolutely did everything you said and it didnt work. I tried placing the block everywhere.
I had no luck, have any suggestions, my dead line for the site is in 3 days.
Thanks
i got no errors it just didnt work, everything else went as planned, i am using multiflex 3 theme.
Thanks
Awesome awesome awesome
As a former Joomla designer/developer, I was hoping to see this sort of module as a built-in feature of Drupal. This is sure to save time in the future =)
Very nice
This not only solved my problem, but gave me a crash course on how the theming components work together. Much thanks.
total awesomeness. thanks for
total awesomeness. thanks for explainig it.
WOW. THANK YOU SO MUCH. I
WOW. THANK YOU SO MUCH.
I can't thank you enough for making this video. Following your instructions worked perfectly! Glad you made it because there isn't too much information about this otherwise!
can't see the podcast
Why I'm not able to see the podcast? I've tried using FF 3.0.5 and Google Chrome, but it showed just a blank are with no videos, does it only works with apple? I have Apple QT installed on my FF!! Which video format are you using?
Thanks
Not seeing a video problem
I'm not sure why folks are having a problem seeing videos...they're in simple flash video format, embedded from blip.tv. I have a feeling that the complaints are coming when http://blip.tv is slow or down...
great solution really
great solution really elegant . . . .
CSS Editor
Can anyone please tell me which CSS editor everyone is using to publish changes right away... Or at least the one being used in the tutorial videos. I have firebug and Edit CSS, both I am new to using - but I LOVE FIREBUG, I would love to be able to edit the HTML and the CSS at the same time in firebug and publish instantly, even if I have to save the file to desktop and upload into ftp manually - I just need to be able to save the changes I have made...
Is this possible?
Thanks All
CSS Editor
Can anyone please tell me which CSS editor everyone is using to publish changes right away... Or at least the one being used in the tutorial videos. I have firebug and Edit CSS, both I am new to using - but I LOVE FIREBUG, I would love to be able to edit the HTML and the CSS at the same time in firebug and publish instantly, even if I have to save the file to desktop and upload into ftp manually - I just need to be able to save the changes I have made...
Is this possible?
Thanks All
Drupal 5 on Zen Theme
Hey Jim,
Did you get an answer? I've got the exact same problem. Using zen theme and have no [yourtheme]_block($block).
Help anyone?
Drupal 5 on Zen Theme
I figured it out. Just create the function if its not there to add to.
function zen_block($block) {
if (module_exists('blocktheme')) {
if ( $custom_theme = blocktheme_get_theme($block) ) {
return _phptemplate_callback($custom_theme,array('block' => $block));
}
}
return phptemplate_block($block);
}
Post new comment