Download & Extend

multiple subdomain skinning fix

Project:Multiple Domains
Version:5.x-1.x-dev
Component:code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi guys,

I was wondering why there is not functional select box for selecting theme for particular subdomain. I found out, that there is a bug in module at lines 301 and 303.
To enable support for subdomain-dependent skinning just delete code on lines 301 + 303 (or comment them out) like this:
...
298 // Add default theme select.
299 $options = array();
300 foreach (list_themes() as $theme) {
301 // if ($theme->status) { // XL fix
302 $options[$theme->name] = $theme->name;
303 // }
304 }
...

Dont know whether this was an intention (then why there would be a select box..?) or just a bug - but skinning works OK once you disable mentioned lines.
Cheers
lubosdz

nobody click here