What to do an where to add

Please LogIn to Reply!

Post By: admin | 26-01-2012 06:35 Reply

 

I can`t seam to get this to work, could someone tell me what to add and what to change? If you could copy theese and make the changes and the mark the changes with red, please. I need it with a teaspoon…

catalog.xml

<default>

<!-- Mage_Catalog -->
<reference name="top.menu">
<block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
</reference>
<reference name="left">
<!--block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
<action method="setImgSrc"><src>images/media/left_col_callout.jpg</src></action>
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
<action method="setLinkUrl"><url>checkout/cart</url></action>
</block-->
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
</reference>
<reference name="footer_links">
<action method="addLink" translate="label title” module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
</reference>
<block type="catalog/product_price_template" name="catalog_product_price_template" />
</default>

page.xml

<block type="page/html_header" name="header" as="header">
<block type="core/text_list" name="top.menu" as="topMenu"/>
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
<block type="page/template_links" name="top.links" as="topLinks"/>
<block type="page/html_wrapper" name="top.bar" as="topBar" translate="label">
<action method="setElementClass"><value>top-bar</value></action>

header.phtml

<div class="header-container">
<div class="header">
<?php if ($this->getIsHomePage()):?>
<h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>” title="<?php echo $this->getLogoAlt() ?>” class="logo"><img src="<?php echo $this->getLogoSrc() ?>” alt="<?php echo $this->getLogoAlt() ?>” /></a></h1>
<?php else:?>
<a href="<?php echo $this->getUrl('') ?>” title="<?php echo $this->getLogoAlt() ?>” class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>” alt="<?php echo $this->getLogoAlt() ?>” /></a>
<?php endif?>
</div>

<div class="top-action-links"><span class="welcome-msg"><?php echo $this->getWelcome()?></span>
<?php echo $this->getChildHtml('topLinks') ?> </div>
<?php echo $this->getChildHtml('topBar') ?>
<div class="quick-access">
<?php echo $this->getChildHtml('store_language') ?>

<?php echo $this->getChildHtml('topMenu') ?>
</div>

<?php echo $this->getChildHtml('topContainer'); ?>
</div>

 Signature 

http://www.hobbystuggu.no

`Reply Or Comment!
Please LogIn to Reply!