I am starting out in magento theme development and have coded my local.xml to removed 2 blocks below.
<?xml version="1.0"?>
<layout version="0.1.0">
<default>
<reference name="header">
<remove name="currency" /><!--removes currency selector-->
<remove name="store_language" /><!--removes store language -->
</reference>
</default>
</layout>
This works but the template header.phtml has the block wrapped in divs that are now not needed. See below:
<div class="header-language-background">
<div class="header-language-container">
<div class="store-language-container">
<?php echo $this->getChildHtml('store_language') ?>
</div>
<?php echo $this->getChildHtml('currency_switcher') ?>
<p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p>
</div>
</div>
My question is can I just remove the section from the template file instead of removing the block? Will this effect anything if the blocks are in the xml files but not being called up in any template phtml files?
Thanks :)