Tony, Everyone,
Hi!
I am seeking to better understand the removeTemplateFromLists function (or do we call that a method?)
I am using it in my module's, and it works for most templates that I try to remove. But one template on the product page: skins/default/en/product/details/parts/attributes_modify/body.tpl will not remove when I use this function(method?).
Here is my code:
Code:
\XLite\Core\Layout::getInstance()->removeTemplateFromLists('product/details/parts/attributes_modify/body.tpl');
And here is a video explaining in better detail:
http://youtu.be/rXSKz2Y1qXc
Please help me understand why this template cannot be removed from lists, and also what the right way to override this template with my module. I want to add a div container around the <ul>.
Thanks!