I've been looking through a lot of posts on how to add CSS / JS file in the footer.
As right now I have followed this path :
<block type="page/html_head" name="foot" as="foot" template="page/html/foot.phtml"/>
I did try all the variant,
<reference name="foot"> <action method="addJs"><script>lebernard/test.js</script></action> </reference>
foot.phtml Translator script is rendering as normal, so foot.phtml is getting called. I tested it with a string as well.
<?php echo $this->getCssJsHtml() ?> <?php echo $this->getChildHtml() ?> <?php echo $this->helper('core/js')->getTranslatorScript() ?> <?php echo $this->getIncludes() ?>
Finally I'm calling in
1column.phtml (and others)
All I want is to include a js file in the footer using
local.xml . I'm on 18.104.22.168.