Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm working with the minnelli, the fixed width version of garland included with 5.0 beta. I've configured a block to show up in the content region using "content" in the region choice through block adminstration. By default, it appears at the bottom after the node; I need to move it to the top of the node below the title and tabs. I've looked through the various tpl.php files. I don't see any print statements for that particular block so that I can modify the page.tpl.php file.
I have written a theme (node-book.tpl.php) which gives a look and feel of a book to the node.
My question is since all type of content types (defined using CCK) can be added to the book (using outline), can I maintain the consistant look and feel.
i.e if I am browsing a book and using book navigation, the content type shouls look like a book and when I see the same content from say recent posts, It should appear in its own theme.
Is it possible to do ? may be using tracking or referer?
In my home-brewn theme using PHPTemplate, I'd like to replace the default
"LinkA | Link B | ... | " output (from theme('links',...)) with a selector (pulldown menu). There may be some neat javascript tricks to do this, but my knowledge just extends to a
...
type pulldown.
For this to work, I'm looking for the correct entry point in the drupal 4.7 API to get a list of my primary links (Descriptions + hrefs). Is there such functionality?
Drupal provides same header for the whole site and if we want to theme all the nodes individually then it’s a bit complicated process. While looking for alternatives to this, the following snippet work fine, this has been implemented in www.vinrcorp.com you can see the example before using it. The usage of the snippet is also quit simple just put this code into the header part or where ever you want, of page.tpl.php file of your theme.
To use it just put images in the image folder and mention the path in the code and also replace the names of images as per the node ids. This will help you to display different banner images for different nodes.