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 using CCK and have an image field (using imagefield.module).
Is there any way to change the output of particular imagefield of particular content type?
I have found that I can use function mytheme_imagefield_image() in my template.php but this will affect all the imagefield items. I need to manipulate one field only. Is this possible?
I'm trying to create a new theme for my Drupal site, using the phptemplate theme engine. I would like to have the front page of my site have some content that isn't found on the rest of the site, and I'd like to create a template specific to the front page to accommodate this.
Is it possible to create something like an index.tpl.php template that will only be used as the front page of the site, with page.tpl.php used for everything else?
I am trying to use drupal_add_js(base_path() . path_to_theme()."/myscript.js") in the top of my node.tpl.php file for a theme I am developing for Drupal 4.7. No matter what I do I can't make it include any javascript files using this function. The documentation for this function says it will include the .js file and also include the misc/drupal.js file, which I need to make this theme work.
Hi, I'm new to Drupal and a complete right brain creative (not good with code)
I have a CSS site design and need to know the next step to make it a theme. Can
anyone help?...Please!!! thanks.
I need to get the Secondary Links (sub-primary links) to be displayed on the Sidebar. After searching for hours, I have been unable to find any help on getting this done. How do I do it? I've tried posting this in a block and setting that on the left sidebar, but nothing appears.