Magento – ( Static ) Show block only on homepage

Who wants to show only certain blocks on the HOME page of the Home Page so Magento Stores, can do this with a small code snippets. In header.phtml folder app / design / frontend / base / default / template / page / html in the default template is still simple: <?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()…

Magento – dynamic URL

Even though it is only a short and not quite sure allumfänglich applicable entry: Would like to link to, for example in a phtml file on a link in the shop, which should be dynamic, so that it is available, for example, by switching to the live system or in another store's Views, then you have instead of http://www.IhreDomain.com/index.html/shop.html…