Theme Import Not Working
Posted: Tue Oct 04, 2016 6:33 pm
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:
After exporting above template and reimporting I get:
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
Upon reimport, I get the following:
Original line in template:
Code: Select all
<__script__ src="assets/js/syntaxhighlighter/shCore.js"></__script>
Code: Select all
<__script__ src="__URL,,7e29d8d32224759c2c4e5cbb4801cc8a__"></__script>
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