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 have a navigation menu with two tabs: "type A" and "type B". I would like to highlight one tab according to the node's taxonomy that the user is viewing. For example: node #1 is published with the term "type A". When one visitor is viewing it, the type A tab should be active.
My question is: how do I know if a node has a specific taxonomy's term?
Hi all, I really hope someone smarter than me can help me out :)
I have a php theme template that I made based on some of the default themes. It works great but the elements are global.
I need to have some elements display based on the path. Much like displaying blocks based on the path. Is there an easy way to do an "if" statement to accomplish this? I have no idea where to start.
I'm getting this error anywhere i point to my web site, i even cant login to my admin page to change the default web-site:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /u1/home/my_account/public_html/bac/themes/engines/smarty/SmartyTemplate.class.php on line 35
Is there anyway from myphpadmin to change the default template?!?