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.
Ok:
I am overriding the listing of the forum. I've created my phptemplate_forum_list function in template.php, but i notice that in the actual function there is a global variable '$user' in the original function.
Will phptemplate make this variable available to me? ( by default?)
OR:
Do i need to add it to the argument list in my function?
OR:
Do i need to declare it as a variable in _phptemplate_variables?
I've noticed just now the use of a class=hide that hides the text on the page. I understand that this is originally a technique to improve search engine ranking, but also that it is now frowned upon. For example, Matt Cutts from Google discusses the practice: http://www.mattcutts.com/blog/seo-mistakes-not-checking-your-site/
Is there any wisdom on this topic? If you agree, I think we should start filing patches to remove this from drupal themes.
hi there!
i have a question concerning the theme() function´s granularity. The API sais
If the current theme does not implement the requested function, then the current theme engine is checked. If neither the engine nor theme implement the requested function, then the base theme function is called.