Timeline for How to store css & js in separate file & call in custom 'tpl' files through variable in drupal 7?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 28, 2015 at 7:44 | history | edited | Rupesh | CC BY-SA 3.0 |
modified answer
|
Jan 28, 2015 at 6:02 | comment | added | Nishant | Please check my updated question. | |
Jan 27, 2015 at 13:11 | comment | added | Nishant | There are lots of my custom tpl files. And I don't want to call as a function in every tpl file. Creating of "header" is the best way to store our css & js inside them & call that header in other files. | |
Jan 27, 2015 at 13:09 | comment | added | Rupesh | Why you not call as a function? make a function and add all necessary css, js. call it. Simple | |
Jan 27, 2015 at 13:03 | comment | added | Nishant | Thanks @Rupesh. Through this way I have to add "drupal_add_css" & path inside function in my every custom tpl file. But my query is that I want to put those js & css in another file separately & I want to call those through variable. | |
Jan 27, 2015 at 12:59 | history | answered | Rupesh | CC BY-SA 3.0 |