I have made a custom wishlist extension, based on Mage_Wishlist (it's a copy of Mage_wishlist).
In checkout/cart.phtml and /checkout/cart/item/default.phtml, this piece of code creates my own custom wishlist column:
<?php if ($this->helper('favorieten')->isAllowInCart()) : ?> <col class="col-wish" width="1" /> <?php endif ?>
It works perfectly when my custom extension is enabled, but it breaks the template when it's disabled.
How do I correctly add the column, so it doesn't break the template when the extension is turned off?
It is important to me so I can first add / replace the templates, and then finally activate the extension.