Hi,

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.

Thanks,
Sree

Comments

robloach’s picture

Category: bug » support
Priority: Critical » Normal
Status: Active » Closed (works as designed)

You'll probably get better support in the forums.