Hi,
I have read https://kb.mailwizz.com/articles/add-a-new-delivery-server-type/ and i want to make my mod with a personal extension.
How can I "link" my form view (section 3 on article) in my extension folder ?
Thanks.
My code
I have read https://kb.mailwizz.com/articles/add-a-new-delivery-server-type/ and i want to make my mod with a personal extension.
How can I "link" my form view (section 3 on article) in my extension folder ?
Thanks.
My code
PHP:
public function run()
{
// import delivery server model
Yii::import('ext-mydelivery.common.models.*');
// add delivery server type
Yii::app()->hooks->addFilter('delivery_servers_get_types_mapping', function($mapping){
$mapping['mydelivery'] = 'DeliveryServerMyDelivery';
return $mapping;
});
// How to add my form view from my extension ?
// /Ext Folder/{backend,customer}/views/delivery_servers/form-mydelivery.php
}