Skip to main content
added 5 characters in body; edited title
Source Link
7ochem
  • 7.6k
  • 16
  • 54
  • 82

Magento adding cssCSS and jsJS includes to the footer

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.

At the moment I'm using a head reference tag in the layout XML and using addJsaddJs and addCssaddCss actions to include all my files. I tried swapping the head reference to footer, but was given an error when I tried to view the site. Is there a way of doing this in local.xmllocal.xml or does this have to be done hardcoded in the footer template file it selfitself?

Magento adding css and js includes to the footer

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.

At the moment I'm using a head reference tag in the layout XML and using addJs and addCss actions to include all my files. I tried swapping the head reference to footer, but was given an error when I tried to view the site. Is there a way of doing this in local.xml or does this have to be done hardcoded in the footer template file it self?

Magento adding CSS and JS includes to the footer

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.

At the moment I'm using a head reference tag in the layout XML and using addJs and addCss actions to include all my files. I tried swapping the head reference to footer, but was given an error when I tried to view the site. Is there a way of doing this in local.xml or does this have to be done hardcoded in the footer template file itself?

Tweeted twitter.com/#!/StackMagento/status/341646597412773890
I elaborated some of the mentions you made to files and methods to improve searchability and added the layout-xml tag. Hope you don't mind
Source Link

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.

At the moment I'm using a head reference tag in the layout XML and using addjsaddJs and addcssaddCss actions to include all my files. I tried swapping the head reference to footer, but was given an error when iI tried to view the site. Is there a way of doing this in local.xml or does this have to be done hardcoded intoin the footer itstemplate file it self?

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.

At the moment I'm using a head reference and using addjs and addcss actions to include all my files. I tried swapping the head reference to footer, but was given an error when i tried to view the site. Is there a way of doing this in local.xml or does this have to be hardcoded into the footer its self?

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.

At the moment I'm using a head reference tag in the layout XML and using addJs and addCss actions to include all my files. I tried swapping the head reference to footer, but was given an error when I tried to view the site. Is there a way of doing this in local.xml or does this have to be done hardcoded in the footer template file it self?

Source Link
Chris Morris
  • 1.5k
  • 7
  • 27
  • 39

Magento adding css and js includes to the footer

I'm doing some Yslow optimization of my Magento site and am trying to add the CSS and Js to the footer of the site.

At the moment I'm using a head reference and using addjs and addcss actions to include all my files. I tried swapping the head reference to footer, but was given an error when i tried to view the site. Is there a way of doing this in local.xml or does this have to be hardcoded into the footer its self?