When using another theme as the admin theme the function path_to_theme() returns the path to the admin theme instead of the theme used.

For this reason the slideshow template are not found.

Workaround to get the slideshow working: use the same theme you use as admin theme.

Trying to find another way how to get the path to the theme used.
Advise welcome.

Comments

ppblaauw’s picture

Status: Active » Needs review
StatusFileSize
new2.06 KB

Patch to fix themes not found when using a different admin theme

ppblaauw’s picture

Title: Slideshow themes not found when using other admin theme » Slideshow themes not found when using other admin theme (Fixed)
Status: Needs review » Fixed

comitted to dev version

Status: Fixed » Closed (fixed)

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