Timeline for How to specify absolute external paths (e.g. CDN) using "addJS" in .xml in /layout (sub)directory?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 22, 2018 at 12:37 | comment | added | Slimshadddyyy |
Can I add <block type="core/text" name="unique-name"> <action method="setText"> <text><![CDATA[<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>]]></text> </action> </block> inside <head></head> of xml ? OR include directly like this in xml <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" src_type="url" />
|
|
Jul 7, 2015 at 5:57 | comment | added | fris | I was looking for a hard-coded solution, not a solution that requires extra config via the UI, so I feel this is what comes closest to what I'm after. Great to know it can be done through the admin panel too. Thanks philwinkle and Meenaskshi. | |
Jul 7, 2015 at 5:54 | vote | accept | fris | ||
Jul 7, 2015 at 4:16 | history | edited | Rajeev K Tomy | CC BY-SA 3.0 |
added 20 characters in body
|
Jul 7, 2015 at 3:55 | history | answered | MeenakshiSundaram R | CC BY-SA 3.0 |