I am having trouble getting a custom .phtml file to output in the footer.
Here is the path to the file:
beckin/themesettings/socialaccounts.phtml
I created an xml file called beckin_themesettings.xml
Here is what I have inside of the xml file:
<?xml version="1.0"?>
<layout version="0.1.0">
<reference name="footer">
<block type="core/template" name="socialAccounts" template="beckin/themesettings/socialaccounts.phtml"/>
</reference>
</layout>
Here is how I am calling it in my footer:
<?php echo $this->getChildHtml('socialAccounts') ?>
But it is not rendering the file.
However, if I move the info to the page.xml file it will work. What am I doing wrong?
Here is the relevant part of the page.xml file:
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
<block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
<label>Page Footer</label>
<action method="setElementClass"><value>bottom-container</value></action>
</block>
/*** If I enter my block here it will work??? ***/
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
<block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
<block type="beckintwitter/twitter" name="twitter_feeds" as="twitter_feeds" template="twitter/twitter.phtml"/>
</block>
Here is my config.xml file
<?xml version="1.0"?>
<config>
<modules>
<Beckin_ThemeSettings>
<version>1.0.0</version>
</Beckin_ThemeSettings>
</modules>
<frontend>
<layout>
<updates>
<themesettings>
<file>beckin_themesettings.xml</file>
</themesettings>
</updates>
</layout>
</frontend>
<global>
<helpers>
<themesettings>
<class>Beckin_ThemeSettings_Helper</class>
</themesettings>
</helpers>
</global>
<default>
</default>
</config>