pakicle,
Magento is manged block positioning using before and after tags xml file ...
first check what is before and after tags in layout xml
name : This is the name by which other blocks can make reference to the block in which this attribute is assigned
.
before (and) after These are two ways to position a content block within a structural block. before="-" and after="-" are commands used to position the block accordingly at the very top or very bottom of a structural block.
As footer link are manged from below codes
Company:
<block type="cms/block" name="cms_footer_links" >
<action method="setBlockId"><block_id>footer_links_company</block_id></action>
</block>
Quick link:
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml">
<action method="setTitle"><title>Quick Links</title></action>
</block>
Account:
<block type="page/template_links" name="footer_links2" as="footer_links2" template="page/template/links.phtml">
<action method="setTitle"><title>Account</title></action>
</block>
Connect with US:
<block type="cms/block" name="cms_footer_links_sm" after="footer_links2">
<action method="setBlockId"><block_id>footer_links_sm</block_id></action>
</block>
As you want footer link sort order
QuickLink>My Account>Connected with Us>Company
corresponding block id are footer_links>footer_links2>cms_footer_links_sm>cms_footer_links
Now i can ordering these link blocks using tags.
Connected with Us->cms_footer_links_sm
Company > cms_footer_links
I have add before......tags as cms_footer_links footer_links2
<block type="cms/block" name="cms_footer_links" after="footer_links2">
<action method="setBlockId"><block_id>footer_links_company</block_id></action>
</block>
know more about layout:
http://www.magentocommerce.com/design_guide/articles/intro-to-layouts
You can call newsletter at footer by using php code
echo $this->getLayout()->createBlock("newsletter/subscribe")
->setTemplate("newsletter/subscribe.phtml")->toHtml();
Best Answer
Welcome to Magento.SE!
I am not having the same issue as you are. It seems to be working for me - so I'm wondering how you're referencing your static block; perhaps you're missing something?
Here's my static block:
And a demo test.php file to output it:
And the output I get:
Some things to check:
Make sure you're calling
toHtml
on the static block. If so, make sure that the static block is set to use the correct store view (in multistore mode). Make sure that you're using the right block id.