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?
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
Comment #1
johnalbinpath_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().
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
francewhoaThanks John. It works.