Issue with [SUBSCRIBE_URL] tag in the confirm-unsubscribe list page

Laurent.O

Member
Hello,

In the unsubscribe confirmed list page, there is the [SUBSCRIBE_URL] tag, in case where people would want to re-subscribe after unsubscribe.
But on this web page, the link of the [SUBSCRIBE_URL] tag (the re-registration link) does not appear correctly.
Please, have a quick look to the screenshot in attachment.
Thank you for you help :)
 

Attachments

  • confirm-unsubscribe-list-page.jpg
    confirm-unsubscribe-list-page.jpg
    44.5 KB · Views: 5
@Laurent.O - Thanks for pointing this out, that url is relative, so it should work.
But i'll make it absolute in the next release.
Meanwhile, you can open /apps/frontend/controllers/ListsController.php and at line 867 you have:
PHP:
// subscribe url
$subscribeUrl = Yii::app()->apps->getAppUrl('frontend', sprintf('lists/%s/subscribe/%s', $list->list_uid, $subscriber->subscriber_uid));

make it

PHP:
// subscribe url
$subscribeUrl = Yii::app()->apps->getAppUrl('frontend', sprintf('lists/%s/subscribe/%s', $list->list_uid, $subscriber->subscriber_uid), true);
 
Back
Top