#3305 - Theme Wizard: Wizard does not properly copy custom GLOBAL_HTML_WRAP to new theme This is a spacer post for a website comment topic. The content this topic relates to: #3305 - Theme Wizard: Wizard does not properly copy custom GLOBAL_HTML_WRAP to new theme By Guest posted 4th Jun 2017, 3:30 PM Do not fill this field in. Looking at the code I don't think any templates are copied. The default theme's GLOBAL_HTML_WRAP would be *inherited*. This may be a bug still though, given expected behaviour of the wizard. By Guest posted 4th Jun 2017, 3:38 PM Never-mind, my initial analysis is wrong. Looking deeper now. By Guest posted 4th Jun 2017, 3:44 PM Actually under testing it functioned properly - everything was copied from the source theme, including GLOBAL_HTML_WRAP.tpl. By Guest posted 5th Jun 2017, 3:19 AM Probably a code override error on my end. I'll investigate my own installation. By Guest posted 5th Jun 2017, 6:43 AM Here's the basic call chain. sources/themewizard.php:make_theme -> themes3.php:actual_copy_theme -> themes3.php:afm_copy. i.e. make_theme copies the origin theme, which works by doing a directory scan of the origin theme and copying everything from it. 0 guests and 0 members have recently viewed this. Sort: Relevance Newest first Oldest first Rating Popularity
This may be a bug still though, given expected behaviour of the wizard.
sources/themewizard.php:make_theme -> themes3.php:actual_copy_theme -> themes3.php:afm_copy.
i.e. make_theme copies the origin theme, which works by doing a directory scan of the origin theme and copying everything from it.