Drupal Questions & Answers

Ask and answer Drupal related questions! No question too simple or complex!
sreedharprabhu's picture
Asked by on Tue 10th May 2011
Current theme path


One of my project I used SWITCH theme. I tried to get current theme. For that I used the below code

drupal_get_path(‘theme’, $theme_name);

This is working fine in blocks based on the theme selected.

But the same code is not working in node.

Could someone help to solve the issue.


Commenting on this Drupal Question is closed.