Hi all,
I want to change login content from header to the footer.
My idea was to get the code out of header.phtml
<div class=”quick-access”>
<?php echo $this->getChildHtml(‘store_language’) ?>
<p class=”welcome-msg”><?php echo $this->getWelcome()?></p>
<?php echo $this->getChildHtml(‘topLinks’) ?>
<?php if ($this->helper(‘customer’)->isLoggedIn()): ?>
<?php else: ?>
<?php echo $this->getLayout()->getBlock(‘mini_login’)->toHtml()?>
<?php endif?>
paste this in the footer.phtml
then open page.xml
got to <header>, cut the code:
<block type=”page/template_links” name=”top.links” as=”topLinks”/>
<block type=”customer/form_login” name=”mini_login” template=”customer/form/mini.login.phtml”/>
and paste this in the <footer> code!
But the links disapear…?
Can anyone help me out what i’m doing wrong!
Thanks in advance help would be very appreciated! =)
