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.
We are currently using Drupal 6 for our website and recently whenever I try to clone an existing page, the photo banner doesn't clone over, even though it did in the past.
I am currently developing my own theme for Drupal 8 and it is going quite well so far. But there is one issue I can't solve at the moment.
For all simple pages and articles there is the following structure:
Hi, I am new to Drupal, so please keep that in mind and go easy on the terminology.
I have a sub-site I am theming. This sub-site uses several global modules. These modules have their own .tpl files which spit out HTML specific to whatever element that modules make appear on the site.
I know I can copy these .tpl files into my sub-site's theme and they will 'overwrite' the global versions of the file, but can I arrange this so only specific .tpl files are used when the module outputs to a specific page?
I'm trying to style and add custom classes/ids to page regions in Drupal. I've done a bit of Googling and found a module called Block Class but that just adds a class to a single block element. I'm looking to add classes to all elements of a block. Here's what I mean.
When developing modules or theme for Drupal, there inevitably comes a time when we may need to include an external CSS or Javascript plugin or library for our project.