Overriding base module views

Author Message

H-Works Agency

Thursday 13 January 2011 2:58:51 am

Hello,

How can we override a module view in a custom extension module ?

For example "shop/basket" is part of ezpublish default views. The view's brain is kernel/shop/basket.php.

What if i want to reuse the path "shop/basket" but this time in a custom module located in the extension folder. Like this :

/extension/my_ext/modules/shop/basket.php

How can this be achieved ? For now i can't obtain the override : Even after declaring everything ezp still uses default view and no override happens.

Thanx in advance.

EZP is Great

H-Works Agency

Thursday 13 January 2011 4:00:19 am

Sorry - already addressed : http://share.ez.no/forums/developer/kernel-view-override

EZP is Great

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.