This forum is for assistance with theme development.

How to make some blocks have different style headers

I'm stumped and hope someone here can point me in the right direction. I would like to have some block have a different style than others. I know this can be done with taxonomy for nodes, but how can it be done with blocks?

Thanks for any pointers.

Taxonomy Breadcrumb Module Problems

Hello Everyone,

So fat everything has been manageable in my quest to learn Drupal and be able to use it as a fluid tool. However, now I'm stuck on the "Taxonomy Breadcrumb Module." My server does not support "clean URL's" on shared hosting, therefore, I cannot use the breadcrumbs system that comes with Drupal unless I want my breadcrumbs to have silly names like node/2 and so on.

Check out my problem at: http://www.guerillainc.com/?q=node/2

The breadcrumb shows up below the title of the page rather than in between my breadcrumb div's. I have used web development tools to find that the taxonomy breadcrumbs get generated by a seperate div tag that is dynamically generated with PHP. But, I cannot find how to make that same DIV tag appear in between my "breadcrumb" DIV's that are hard-coded into mt page.tpl.php.

This is how my page.tpl.php site looks like:


print $language " xml:lang=" print $language ">


print $head_title;
print $head;
print $styles;
print $scripts;

print $body_classes; ">

Image Replacement...

How do I do image replacement with Drupal menus? I'm creating a one-use theme and have a custom navigation menu. I don't know where to find the hooks for each individual menu item of my custom menu.

Hiding block title if no results in view

How do I hide a title of a block, if the view from the block is empty? Is there a way to detect the count of the view?

Question about path_to_theme

Hi,

I'm trying to leverage the path_to_theme() function but it's not working as advertised.

I've added this to my page.tpl.php file:

    print path_to_theme();

But the problem is that it returns the *parent* theme not he child theme that I have enabled.

For example, I added the above snippet to the Minelli theme and the path I'm getting back is "/themes/garland"

Am I doing something wrong?

TIA,

Kevin

Pages

Subscribe with RSS Subscribe to RSS - Theme development