• Home
  • Blog
  • Projects
    • QWcrm
    • Joomla
      • mod_helloworld
      • plg_helloworld
      • QWRealURL
  • KB
    • Articles
    • Links
  • Forum
  • Stuff
    • Links
  • Search
  • Docker Target
  • Login
QuantumWarp QuantumWarp QuantumWarp
  • Home
  • Blog
  • Projects
    • QWcrm
    • Joomla
      • mod_helloworld
      • plg_helloworld
      • QWRealURL
  • KB
    • Articles
    • Links
  • Forum
  • Stuff
    • Links
  • Search
  • Docker Target
  • Home >
  • KB >
  • Links >
  • Web Design >
  • eCommerce >
  • Magento >
  • Articles >
  • Templating >
  • Add JavaScript and CSS >
  • Add Javascript to Home Page Only (Or Any CMS Page) | Prattski

Add Javascript to Home Page Only (Or Any CMS Page) | Prattski

Have you ever needed to include a javascript file to the home page only to run that sweet slideshow you have displayed (or any other reason)? Fortunately, you don’t have to modify any of the layout files, or add it to your head.phtml file. CMS pages in Magento allow you to modify the layout XML specific to that page.

Listing Details

{stwpreview url="http://prattski.com/2010/03/08/magento-add-javascript-to-home-page-only-or-any-cms-page/" link="no" divwrap="no"}
Website
prattski.com/2010/03/08/magento-add-javascript-to-home-page-...
Visited
121

Legal

  • Attribution
  • DMCA
  • Privacy & Cookies
  • Terms & Conditions

Resources

  • Feedback
  • Downloads
  • Typography

QuantumWarp

  • About
  • Contact

Follow Us

  • GitHub