Magento Forum

Editing urls in header.phtlm
 
Vegard
Jr. Member
 
Total Posts:  16
Joined:  2009-01-17
 

Hi
I hope anybody can help grin

I just cant figure out what I must do to get the url in header.phtml to show correct.

When I put the “<a href="<?php echo $this->getUrl('Lekestallen-infoside')" Both the link for the image AND the search link (url) is changed. Here is all my header.phtml

?>
<div class="header">
<div class="headerLeft">
<div class="logo"><h1 id="logo"><a href="<?php echo $this->getUrl('') ?>"><img src="<?php echo $this->getLogoSrc() ?>” alt="<?php echo $this

->getLogoAlt() ?>"/></a></h1></div>
<a href="<?php echo $this->getUrl('Lekestallen-infoside') ?>"><img src="<?php echo $this->getSkinUrl
('images/side_logo_promo.gif') ?>” alt="” class="side-logo-promo"/>
</div>
<?php echo $this->getChildHtml('topSearch') ?>
<div class="headerRight">

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

My site is http://www.lekestallen.no, I want the banner/picture “kundesenter” to go to internal page “Lekestallen-infoside’, but I also want the search to work as it should grin (Now it also link to the same page)

Any help would be most appreciated grin

Best regards
Vegard

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