I get a lot of requests for this so here is a quick step by step on how to move the Instagram gallery from the sidebar to the footer in Magento. While this is written with the footer in mind, you can change the paths in the code to move the gallery to another sidebar or anywhere else you like.
UPDATE** The latest version of the Instagram for Magento module has this option built in. All you need to do is select where you would like the Mini gallry to appear from the drop down in the admin configuration, and then save and clear the cache.
Remember to change the template paths (default/default) to your template pages if you are not using the default theme.
Step 1
Open /app/design/frontend/default/default/layout/cdlinstagram.xml
On line 24 change the reference name from “right” to “footer”.
[sourcecode language=”php”]
<reference name="footer">
[/sourcecode]
Step 2
Log into your Magento backend and navigate to System -> Cache Management
Refresh the cache (select all).
Reload your websites frontend and you should see the mini gallery in the footer.
If not, (some themes change these references) you can do the below.
Open /app/design/frontend/default/default/template/page/html/footer.phtml
Paste the following code into this file where you would like it to appear.
[sourcecode language=”php”]
<?php echo $this->getLayout()->createBlock(‘core/template’,’instagramcarousel’)->setTemplate(‘cdl/instagram/photoset.phtml’)->toHtml(); ?>
[/sourcecode]
That should be it.
UPDATE** The latest version of the Instagram for Magento module has this option built in. All you need to do is select where you would like the Mini gallry to appear from the drop down in the admin configuration, and then save and clear the cache.