Theme Import Not Working

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
milehigh

Theme Import Not Working

Post by milehigh »

I ported a theme that had a some static file references to scripts and CSS files.

Upon reimport, I get the following:

Original line in template:

Code: Select all

<__script__ src="assets/js/syntaxhighlighter/shCore.js"></__script>
After exporting above template and reimporting I get:

Code: Select all

<__script__  src="__URL,,7e29d8d32224759c2c4e5cbb4801cc8a__"></__script>
This happens to all my JS and CSS references in the template (about 20 of them)

Not only does it happen within the template files, but it does it to any path references in my CSS files.

Also, on a separate note, the site I generated the theme on I used the path uploads/myTheme and included fonts,images, js etc (using the directory structure for Simplex and NCleanBlue as examples. I made sure my CSS had the [[root_url]]/uploads/font...etc.

I exported the theme, saved to my desktop, went to another domain and tried importing the theme.

After importing the theme, it created uploads/designs/myTheme which broke all my above CSS references. The subfolders weren't included. All my paths were changed as noted above.

The original theme was from a new 2.1.5 fresh installation. The site I tried to install the theme on was a recent upgrade from 1.12.1 to 2.1.5
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Theme Import Not Working

Post by velden »

Locked

Return to “CMSMS Core”