In the D5 version there used to be a function path_to_subtheme(). This doesn't work in D6 anymore :( What would be the replacement?

Comments

JohnAlbin’s picture

Component: Subtheme: Zen Classic » Code
Status: Active » Fixed

path_to_subtheme() isn't needed anymore because path_to_theme() properly returns the path to the active theme (even if it is a sub-theme).

So just use path_to_theme().

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Francewhoa’s picture

Component: Code » PHP Code

Thanks John. It works.