Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
FrancewhoaThanks John. It works.