Top "Drupal-theming" questions

In Drupal terminology, "theming" is rendering or modifying the HTML markup produced by a module or a theme.

How to quickly theme a view?

I've defined a view with the CCK and View 2 modules. I would like to quickly define a template specific to …

drupal drupal-views cck drupal-theming
How to insert a block into a node or template in Drupal 7?

In Drupal 6, it was easy to insert a block into a template with the following code: $block = module_invoke('views', …

drupal drupal-theming drupal-7
How do I get the path of the current drupal theme?

The Drupal API has drupal_get_path($type, $name) which will give the path of any particular theme or module. …

drupal drupal-6 drupal-theming
How do I output a drupal image field?

It is quite possible that I'm just looking for help finding the name of a function that already exists within …

drupal drupal-7 drupal-theming drupal-themes
How do I use theme preprocessor functions for my own templates?

I have several .tpl.php files for nodes, CCK fields, and Views theming. These template files have a lot of …

drupal drupal-6 preprocessor drupal-theming
Adding a class to "body"

How can I modify or pre-process the <body> tag to add the class body? I don't want to …

drupal drupal-7 drupal-theming
Drupal 7 How to override page.tpl for specific content type?

I wanted to override page.tpl.php for specific content type. I have tried these thing, nothing works for me. …

drupal drupal-7 drupal-theming
Drupal 7 - How to load a template file from a module?

I am trying to build my own module in Drupal 7. So I have created a simple module called 'moon' function …

drupal drupal-theming
Drupal 7: Access custom node field in page.tpl.php

I added a new field "mood" (image) to the page content type. Is there any way to access the image …

drupal drupal-theming drupal-7
Why aren't my drupal 7 submenu's showing?

I can't seem to get my sub-menus to display. I've gone to: Home » Administration » Structure » Menus Then, I've edited the …

drupal drupal-7 drupal-theming drupal-navigation