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 have a menu with a two level hierarchy. The menu has currently 8 items on the top level. I would like to display a separate banner for each of the 8 top level menu items. Example: One page banner for all nodes under "About Us", one page banner for all nodes assigned to "Contact", etc. Our website is http://www.qahc.org.au/
I think the best way to go about this (tell me if I'm wrong) is to add a PHP switch in my theme template.
I've tried searching the archive, but to no avail. How are the taxonomy synonyms expected to work? My first thought was that they're a sort of autocorrection mechanism (think of tags with umlauts). To my surprise, there are only two places in the core where synonyms are used at all: in the term edit form, and in the {term_data} updating code. This means synonyms are not used at all. Did I miss something? If so, should I write my own module for tag autocorrection, or is there a solution available already?
I'm not a PHP expert by any means and I've having a hard time wrapping my head around this. I created a content type and I used .css and contemplate to get everything looking just how I want when it is output. However, I can't find where I can change the heading or title when I view a content entry as a page. Is this something I can find in the page.module or can i override this with a snippet in my template.php? Thanks to anyone that can point me in the right direction!
I'm trying to make use of jQuery in rendering portions of a theme, so jQuery needs to be loaded in all pages. Looking at the bluemarine theme in Drupal 5 as an example, jQuery is only loaded on pages that have a need for javascript via loaded modules.
How do I make jQuery available to all pages via a theme? Where is it determined if jQuery is needed for a page?
I've had no luck searching, nor have I been able to get the following to work at the top of my page.tpl.php:
But I want different themes and blocks under different cateogories. For example, different banner for "Students" and different "Menu links" then I would for International students.
Is this possible?
So far I can only get it to work with one template.