How to add custom style sheets to new theme ? Should I add it to index.template.php ? An example can help a lot.
Yup, add it to the head section in index.template.php. For example before </head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
Another way is to use loadCSSFile in the template_init function.
The better way so it can compact/minimize and you can keep track of what's loaded using the debugging tools.
And, you can even decide in which template load it, because you can just create a "template_NameOfTheTemplate" function and that is called automatically just after the file has been included (i.e. just after the call "loadTemplate('NameOfTheTemplate')").
Well
@emanuele always has a nice approach :D
LOL
That's the result of messing with the code: you discover things that only very few people know. :P
@emanuele care to post an example? sorry newbie here thanks
http://www.elkarte.net/community/index.php?topic=2998.msg20906#msg20906
;)