我这样做的方式是在PACKAGE/TEMPLATE/app/template/page/html/footer.phtml中创建一个footer.phtml,并将其打入我用我想要的链接构建的CMS页脚页面。
<div class="footer-container">
<div class="footer">
<div class="quicknavHolder"><?php echo $this->getChildHtml('topLinks') ?></div>
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('sm-footer')->toHtml(); ?>
<address><?php echo $this->getCopyright() ?></address>
</div>
然后在CMS块被称为“SM-页脚”我把所有我想要的链接的顺序,我想他们。
<center>
<table style="padding-bottom: 15px; text-transform: uppercase;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><!--Privacy Policy-->{{widget type="cms/widget_page_link" template="cms/widget/link/link_block.phtml" page_id="63"}}</td>
<td style="padding: 0 12px;">|</td>
<td><!--FAQ-->{{widget type="cms/widget_page_link" template="cms/widget/link/link_block.phtml" page_id="44"}}</td>
<td style="padding: 0 12px;">|</td>
<td><!--My Account--><a href="{{store url="customer/account"}}">My Account</a></td>
<td style="padding: 0 12px;">|</td>
<td><!--Contact Us-->{{widget type="cms/widget_page_link" template="cms/widget/link/link_block.phtml" page_id="45"}}</td>
<td style="padding: 0 12px;">|</td>
<td><!--Category Sitemap--><a href="{{store url='catalog/seo_sitemap/category/'}}">Category Sitemap</a></td>
</tr>
</tbody>
</table>
</center>
这只是一种选择。