Magento - Add External Javascript in CMS Static block

Template tags can be used on CMS pages in static blocks and in email templates also

Template tag is special tag, it has text surrounded by double curly braces which has a special meaning to Magento,
for example {{store url=""}}.

Problem :
I have one javascript , "slide_home.js" and want to include in one cms Static Blocks
This javascript file is in root-directory/js/commmon/slide_home.js

Solution : (you can write this line at top of static blocks [tine mce editor] )
/*

*/

learn more from here
http://inchoo.net/ecommerce/magento/magento-cms-syntax-part1/

3 comments:

sukumar said...

Thanks for the post, Usually magento is famous and future rich site.Magento eCommerce

Anonymous said...

Thanks for sharing this information because it worked a lot for me.
Online Magento Templates

Anonymous said...

Ghanta chalta hay