Adding and tags
-
On the documentation for this plug in I found:
When writing Javascript and CSS Templates it would be considered like writing separated .js or .css files, no <script> or <style> or <link> tags should be added in those templates. Those Tags are being added automatically by CJT Templates linker. Adding those tag would break those Templates.
Embedding Template is current will embedded Javascript and CSS templates without any tags appended. Its still a good practice to follow the Above strategy of avoiding adding any Tags as next CJT release would start adding those templates while embedding too.
I created a couple of javascript blocks and they are being output as is, without the <script> tag. Adding the tags is discouraged but it seems to be the only way to make it work, or am I missing something?
- The topic ‘Adding and tags’ is closed to new replies.