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

Please help me to move the currency-switcher box
 
fegizii
Sr. Member
 
Total Posts:  160
Joined:  2009-01-21
 

Version:1.2.0.3 Theme: Modern

I would like to move the currency switch box from the top of the left column to the right side of the top link bar (see attached picture).

I have done the search and a few post came up but none of the proposed solutions have worked for me. I have also tried to follow the steps from the exercise in the design guide but that has not helped either.

At this point i don’t know what else to try! I would appreciate any help from the community…

Image Attachments
switch.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
fegizii
Sr. Member
 
Total Posts:  160
Joined:  2009-01-21
 

Anybody? I even used the magic word :D

 
Magento Community Magento Community
Magento Community
Magento Community
 
FOOMAN
Guru
 
Avatar
Total Posts:  669
Joined:  2007-12-13
Auckland, New Zealand
 

not sure if you have found your answer yet, but this should do the trick.

in /app/design/frontend/default/modern/layout/page.xml change

<block type="page/html_header" name="header" as="header">
    <
block type="core/text_list" name="top.menu" as="topMenu"/>
</
block>

to

<block type="page/html_header" name="header" as="header">
    <
block type="core/text_list" name="top.menu" as="topMenu"/>
    <
block type="directory/currency" name="currency" template="directory/currency.phtml"/>
</
block>

Afterwards you can edit /app/design/frontend/default/modern/template/page/html/header.phtml to your liking. To include the currency switcher use:

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

You might have to delete/turn off the cache so that your configuration gets updated from the xml file.

Good luck

ps just saw that you wanted them to be in the links section....

You can try this instead:

in /app/design/frontend/default/modern/layout/page.xml change

<block type="page/template_links" name="top.links" as="topLinks"/>

to

<block type="page/template_links" name="top.links" as="topLinks">
    <
block type="directory/currency" name="currency" template="directory/currency.phtml"/>
</
block>

Then you can use

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

in /app/design/frontend/default/modern/template/page/template/links.phtml

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