Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.