2017-11-30, 12:58 AM
You can attatch custom CSS to a theme in Admincp > Templates & Style > (Theme) > Add Stylesheet
I believe javascript has nearly the same importance as css these days. Possibly there could be a section added to include and edit javascript.
Similar to css, you have multiple js sheets and attach them to only the pages in which they are needed.
1. This is easier as you no longer need to fudge with uploading and managing URLs in headerinclude and elsewhere throughout templates.
2. It's easier to edit the javascript for users who don't use external clients and only access their files through FTP.
3. Theme creators no longer have to deal with inexperienced board owners panicking about why the dropdown menu on a theme isn't working.
The main goal here isn't to store the javascript in any different way. Temporary files could be made to store the added javascript. The main goal is basically ease of use.
I believe javascript has nearly the same importance as css these days. Possibly there could be a section added to include and edit javascript.
Similar to css, you have multiple js sheets and attach them to only the pages in which they are needed.
1. This is easier as you no longer need to fudge with uploading and managing URLs in headerinclude and elsewhere throughout templates.
2. It's easier to edit the javascript for users who don't use external clients and only access their files through FTP.
3. Theme creators no longer have to deal with inexperienced board owners panicking about why the dropdown menu on a theme isn't working.
The main goal here isn't to store the javascript in any different way. Temporary files could be made to store the added javascript. The main goal is basically ease of use.