Hi Nick,
thanks for your reply.
I have tried to put the styles.js (default.js) into the root and it worked. Then I moved into my template and it also worked. But it's still useless if I have to keep absolute URL there - I would have to change it each time I create a new website. Functions like get_site_url(); are not usable there as well, so I think I'll have to leave this.
Then I did some tests with config.js and I did not find a way to define my custom that would work.
Including would make no sense as including a php file makes url relative to the file you included the file to, so I would need the same relative URL structure there. Correct me if I'm wrong, happens.
Never mind, I think I'll just go without this feature and I'll update the files with each GS update. It's not that often
Thank you
thanks for your reply.
I have tried to put the styles.js (default.js) into the root and it worked. Then I moved into my template and it also worked. But it's still useless if I have to keep absolute URL there - I would have to change it each time I create a new website. Functions like get_site_url(); are not usable there as well, so I think I'll have to leave this.
Then I did some tests with config.js and I did not find a way to define my custom that would work.
Including would make no sense as including a php file makes url relative to the file you included the file to, so I would need the same relative URL structure there. Correct me if I'm wrong, happens.
Never mind, I think I'll just go without this feature and I'll update the files with each GS update. It's not that often
Thank you
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple