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

Moving elements from one container to another
 
Pragman
Jr. Member
 
Total Posts:  5
Joined:  2008-05-26
 

Hi all:

I’m currently making a template based on the modern theme in Magento and when I try to move an element from one PHTML to another it dissapears.

For example:

If I move the top Menu:

<?php echo $this->getChildHtml('topMenu') ?> (line 28, template/page/html/header.phtml)

to template/page/2columns-right.phtml (line 50):
replacing
<?php echo $this->getChildHtml('breadcrumbs') ?>
<?php echo $this->getChildHtml(’topSearch’) ?

with:
<?php echo $this->getChildHtml('topMenu') ?>

And then the TopMenu buttons disappear. Why?

Does anyone know?

The Magento Design Guide and the Template chapter on the book are the most incomplete documentation ever. If someone knows a better link where to find info on templates, please let me know.

Thanks in advance.

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