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.
By Nick Wilson on
Hi
Im not too keen on the way drupal shows the tag, and wish to change it so that the titles are the NODE TITLES.
But i dont know what variale to use, can anyone help? - I just need to know how to access the node title of a node in my theme....
Many thanks...
Nick
Comments
which theme
Now if we knew what theme u're using, we could really help.
On the other hand, why don't you read the source of the page Drupal generated, look for a title you would like to change and start from there determining what part in the relevant CSS file and .theme file is responsible for the positioning and layout of that title?
For instance, for xtemplate I found in function node() in xtemplate.theme a line with ucfirst($node->title). Why not change that into strtoupper() and see what happens?