ImpressCMS / impresscms

A multilingual, extensible, community oriented CMS developed in PHP
https://www.impresscms.org
Other
27 stars 35 forks source link

Admin theme is not taken into consideration in icms_view_Tpl constructor #1551

Open fiammybe opened 6 months ago

fiammybe commented 6 months ago

When your admin theme is different from your frontend theme, the icms_view_Tpl class will always take the value in $icmsConfig['theme_set'] to identify where to look for eventual theme overrides (check out line 70, where the compile_id is constructed. This could be the reason why the template overrides in a admin theme don't seem to work. I think this information cannot be determined by the icms_view_Tpl class on its own, it needs input from the calling class.