Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

mini_login again…
 
metal
Jr. Member
 
Total Posts:  15
Joined:  2008-05-15
 

Hi!

I’m trying to add mini login box to my header.

I did two things:

- add mini_login block to my page.xml file

<block type="page/html_header" name="header" as="header">
                <
block type="page/template_links" name="top.links" as="topLinks"/>
                <
block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
                <
block type="core/text_list" name="top.menu" as="topMenu"/>
<
block type="customer/form_login" name="mini_login" as="mini_login" template="customer/form/mini.login.phtml" />
            </
block>

- called method in header.phtml

<?php echo $this->getChildHtml('mini_login'?>

but nothing happend :(

Please help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
sdb
Sr. Member
 
Avatar
Total Posts:  223
Joined:  2007-11-13
coastal California, USA
 

I’m not 100% certain on this applying to you, but I believe some styles are limited to certain areas, so if you moved the item out of the area it was originally in (header, footer, etc), it loses its style. I think I had to make style changes with the search box when I moved it out of the header, for example.

If the style is lost, the size and location of the items might be lost too.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top