CMS MADE SIMPLE FORGE

CMS Made Simple Core

 

[#8652] Theme import requires manually changing templates in newer versions.

avatar
Created By: Jeff Minus (milehigh)
Date Submitted: Sat Nov 17 09:48:00 -0500 2012

Assigned To:
Version: 1.11.2.1
CMSMS Version: None
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Theme import requires manually changing templates in newer versions.
Detailed Description:
Details Here:
http://forum.cmsmadesimple.org/viewtopic.php?f=20&t=63973

Error: at line 73 in file
C:\wamp\www\bootstrap\lib\smarty\sysplugins\smarty_internal_write_file.php:

unable to write file
C:\wamp\www\bootstrap\tmp\templates_c\86ec7d2a4ac782b624e0d54bae598ea3^e40808981b07a1cf3e732d509f955dfec26260a8.module_db_tpl.MenuManager;theme
: bootstrap_top.php

If I go back through and rename my menu templates back to bootstrap_top and
bootstrap_side...and then go into the main imported templates and edit the
references there to match then everything works again. So...it doesn't like
something with the "prefix : " part of the import. Once I take that part out of
the menu filenames everything works fine.

I don't want to share something that users will have all sorts of trouble with
so I wanted to see if anybody has seen this issue.

Also reported here:
http://forum.cmsmadesimple.org/viewtopic.php?f=7&t=63133


History

Comments
avatar
Date: 2012-11-17 12:54
Posted By: Robert Campbell (calguy1000)

Yes, this is an issue wrt importing themes.

Smarty3 seems to think that the : in the names of templates indicates a smarty
resource.

This is being re-done for the next version of CMSMS, but unfortunately did not
make it into CMSMS 1.11.3
      
avatar
Date: 2015-09-06 13:19
Posted By: Robert Campbell (calguy1000)

resolved for cmsms 2.0, though new exports will prolly be required.
      
Updates

Updated: 2015-09-06 13:19
resolution_id: 6 => 7
cmsms_version_id: 29828 => -1
state: Open => Closed

Updated: 2012-11-17 12:54
resolution_id: => 6