miguelbalparda / MB_Translate

Translate CMS Pages in Magento
18 stars 12 forks source link

The filter model should extend Mage_Widget_Model_Template_Filter #1

Closed tzyganu closed 10 years ago

tzyganu commented 10 years ago

The filter model used by the CMS pages is Mage_Widget_Model_Template_Filter. (see app/code/core/Mage/Widget/etc/config.xml)

 <cms>
     <page>
           <tempate_filter>widget/template_filter</tempate_filter>
       </page>
       <block>
           <tempate_filter>widget/template_filter</tempate_filter>
       </block>
 </cms>

If you don't extend that class you can lose the {{widget ...}} directive

miguelbalparda commented 10 years ago

Agree. This is fixed. Thank you!