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

Adding My Cart Link to TopLinks (moderate theme)
 
All Bijoux
Jr. Member
 
Total Posts:  22
Joined:  2008-05-04
 

I’m just trying yo add a link like My Cart (2 items) into toplinks with Moderate Theme.
--------------------------------------------
http://www.allbijoux.com/tienda
---------------------------------------------

Now Toplinks are as CSS,

I have:

template/page/html/header.phtml
==========================
<div class="header">
<h1 id="logo"><a href="<?php echo $this->getUrl('') ?>"><img src="<?php echo $this->getLogoSrc() ?>” alt="<?php echo $this->getLogoAlt() ?>"/></a></h1>
<div class="headerlinks-bar"><?php echo $this->get<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('header_links')->toHtml() ?>getChildHtml(’topLinks’) ?>
</div>

<div class="search-bar"><?php echo $this->getChildHtml('topSearch') ?></div></div>

<div class="navbar"><?php echo $this->getChildHtml('topMenu') ?></div>
</div>

template/page/2columns-left.phtml
============================
<div class="toplinks-bar">
<?php echo $this->getChildHtml('topLinks') ?>
</div>

<div class="search-bar">
<?php echo $this->getChildHtml('topSearch') ?>
</div>

---------------------------------------------------------------------------------

And I ve tried putting in header.phtml ->

<div class="toplinks-bar">
<?php echo $this->getLayout()->getBlock('header')->getWelcome() ?>
<?php echo $this->getChildHtml('topLinks') ?>
</div>

and in 2columns-left.phtml ->
<div class="toplinks-bar">
<?php echo $this->getChildHtml('topLinks') ?>
</div>
<div class="search-bar">
<?php echo $this->getChildHtml('topSearch') ?>
</div>

Anybody has Any Idea????  Thanxs!!

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