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.
I am sort of new at this but there are still a handful of things that still don't work right. One of them being the phptemplate engine. I believe I have followed the instructions verbatim but I have still been unable to use it. I have unpack the phptemplate folder in the '\themes\engines' directory and then also unpacked a couple of themes in the '\themes' directory but my drupal site still does not recogninze these new themes. Can anyone point me in the right direction or have any suggestions that I can try?
I'm working on a theme that uses Democratica. I'm trying to replace the logo section with a static menu (http://freedomnetworks.com/testme/) that uses javascript. I'm editing page.tpl.php and no matter where I place the code for the menu, it won't show up. Is there some module that blocks out the upper logo portion?
I'm a newbie and feel like this info must be availble somewhere, but I can't find it.
I'm looking for a listing of what variables are available. I'm hacking an existing them and want to be able to put the logged in user's username in the template (i.e. echo "Currently logged in: $username"), but I can't find a listing anywhere of what user variables are available, or any variables for that matter. I'm sure I must be missing something...
Hello, I'm not quite sure I'm in the right forum, but I would like to have some PHP in my phptemplate page.tpl.php that knows when someone has just posted a new content (node) or just modified one existing node.
Do you know how I can do that ?
if (....) {
do things that will show in the page
}
Thank you, and please direct me to the right forum if you think I'm not in the right one, but I do not want to create a module.