views:

499

answers:

2

Hi, I started working with Magento this week and I'm trying to create a new theme. Following the "Designing for Magento" article of the wiki, I tried to remove the Popular Tags block from the index view, adding this line to local.xml on magento\app\design\frontend\default\mytheme\layout:

<remove name="tags_popular"/>

I don't why, but the tags are still there while if I do the following the language switcher disappears:

<remove name="store_language"/>

I also tried this to no effect:

<reference name="left">
    <action method="unsetChild"><name>tags_popular</name></action>
</reference>

I even deleted tag.xml and the tags are still there!

I know that I can get rid of them disabling the Mage_tag in the backend, buy I want to understand why this is not working.

Thanks!

A: 

Have a look into tag.xml where you will find this code, which you have to comment out:

<default>
    <!-- Mage_Tag -->
    <reference name="left">
        <block type="tag/popular" name="tags_popular" template="tag/popular.phtm">
            <action method="setTemplate"><template>tag/popular.phtml</template></action>
        </block>
    </reference>
</default>
Thomas
A: 

How silly, the popular tags were shown in the main page because they came in the defualt code of the content page (menu: CMS > Pages), so I just had to erase that :P

Vier