I think Jen Kramer's article gives the best advice:
http://www.jenkramer.org/blog/custom-javascript-in-joomla From: joomla-boun...@lists.nyphp.org [mailto:joomla-boun...@lists.nyphp.org] On Behalf Of Janet Sullivan Sent: Tuesday, February 18, 2014 8:58 AM To: NYPHP Joomla Subject: [joomla] Adding javascript? What's the best way to add javascript to a joomla site? (I need the javascript code to use a mailchimp API.) I tried editing the template to include the code in the <head> tag but mailchimp doesn't recognize it. I edited the JCE editor to allow me to put javascript in an article, which works except sometimes when I edit the page the contains the javascript, joomla removes the javascript.....Suggestions? Thanks! Janet _____ No virus found in this message. Checked by AVG - www.avg.com Version: 2014.0.4335 / Virus Database: 3705/7103 - Release Date: 02/18/14
_______________________________________________ New York PHP SIG: Joomla! Mailing List http://lists.nyphp.org/mailman/listinfo/joomla NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php