Hi,
My HTML5 theme is based on the SkelJS frontend framework and basic configuration is done in an external Javascript file.
Example for static HTML:
window._skel_config = {
preset: 'standard',
prefix: 'css/style',
resetCSS: true
};
Within GetSimpleCMS, I need however to put the full path from the root of the hosting space for the prefix variable :
window._skel_config = {
preset: 'standard',
prefix: '/cms/theme/mytheme/css/style', ( or http://www.mydomain.com/cms/theme/mytheme/css/style )
resetCSS: true
};
I don't understand why I do need to put the complete path when code is served by GetSimple.
I would prefer relative paths, but all my tests so far failed.
Many thanks for your help,
Romain
My HTML5 theme is based on the SkelJS frontend framework and basic configuration is done in an external Javascript file.
Example for static HTML:
window._skel_config = {
preset: 'standard',
prefix: 'css/style',
resetCSS: true
};
Within GetSimpleCMS, I need however to put the full path from the root of the hosting space for the prefix variable :
window._skel_config = {
preset: 'standard',
prefix: '/cms/theme/mytheme/css/style', ( or http://www.mydomain.com/cms/theme/mytheme/css/style )
resetCSS: true
};
I don't understand why I do need to put the complete path when code is served by GetSimple.
I would prefer relative paths, but all my tests so far failed.
Many thanks for your help,
Romain