Re: [fossil-users] adding js to themes
Awesome I'll test it using adding the js to the header ! 2011/3/8 Ron Wilson ronw.m...@gmail.com On Tue, Mar 8, 2011 at 11:37 PM, Federico Ramallo frama...@gmail.com wrote: I've been trying to add a js file but the theme only consider CSS, header and footer... I added as a file on the on the code, but is just a workaround. I checked skins.c file, but couldn't understand how it works to add a javascript.js file in the config table any ideas? How hard would be to implement that? That way when we export / import a skin we include a javascript file I suppose that can have a few advantages, but putting the Javascript in as a file makes it much easier to handle revisioning of it. In a pinch, Javascript could be put in-line in the header, though that does make the header harder to edit. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] adding js to themes
I've been trying to add a js file but the theme only consider CSS, header and footer... I added as a file on the on the code, but is just a workaround. I checked skins.c file, but couldn't understand how it works to add a javascript.js file in the config table any ideas? How hard would be to implement that? That way when we export / import a skin we include a javascript file Regards, Federico Ramallo ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] adding js to themes
On Tue, Mar 8, 2011 at 11:37 PM, Federico Ramallo frama...@gmail.com wrote: I've been trying to add a js file but the theme only consider CSS, header and footer... I added as a file on the on the code, but is just a workaround. I checked skins.c file, but couldn't understand how it works to add a javascript.js file in the config table any ideas? How hard would be to implement that? That way when we export / import a skin we include a javascript file I suppose that can have a few advantages, but putting the Javascript in as a file makes it much easier to handle revisioning of it. In a pinch, Javascript could be put in-line in the header, though that does make the header harder to edit. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users