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.
Hi everyone, I have created a draft of the upcoming Drupal 8 php variables cheat sheet from the .html.twig files for a Google Code-In 2013 task. Hope it helps! There's a great one for D7 here.
I have tried searching on how to do this, but there seems to be some contradictory results. Could someone tell me on how to add your own custom written javascript files to a theme for drupal 8?
I have a view which is modified by a views template page - this is in Drupal 6.
I'm trying to figure out a condition to affect the layout. Currently, the element seems to be generated in page.tpl.php, which is fine, but I want to add a condition for this specific page, in order to add an id to this element.
For other pages, I've used the node id to do this, as such:
Hi all
i use display suite to style my taxonomy page and it suggests me some template files but i am not able to use that file, i put them in place but they do not include,
do you know how it will works please ? or any references ?