Then there's nothing we can do right now.Yes, that's what I mean, how if the list isn't valid anymore?
We have a hook for this which you can use, by creating a file called init-custom.php in /apps/ folder with following contents:I needed all of the broken link sent from old installed mailwizz to be redirected to a new link.
<?php
Yii::app()->hooks->addAction('frontend_campaigns_track_url_item_not_found', function(){
Yii::app()->request->redirect('https://www.google.com/');
});
Hi, could you please elaborate on how to install this hook?Then there's nothing we can do right now.
We have a hook for this which you can use, by creating a file called init-custom.php in /apps/ folder with following contents:
Doing like the above will do what you are after. I'll be thinking if we should add this in the core, at the moment i don't think so.PHP:<?php Yii::app()->hooks->addAction('frontend_campaigns_track_url_item_not_found', function(){ Yii::app()->request->redirect('https://www.google.com/'); });
What version of the app are you using ?I created init-custom.php in /apps/ folder with that code, but seems like nothing changed.
1.3.8.0What version of the app are you using ?