Closed kudykam closed 8 years ago
You can't change this? http://rtfm.modx.com/extras/revo/virtunewsletter#virtuNewsletter-5.TheNewsletters
<!-- unsubscribe link -->
<a href="[[~62?
&subid=`[[+virtuNewsletter.email.subid]]`
&h=`[[+virtuNewsletter.email.hash]]`
&act=`unsubscribe`
&scheme=`full`
]]">
Unsubscribe
</a>
I can change it, but it always insert full link. This link is inserted into email template so user can unsubscribe by clicking on the link in email. Because of different subdomain I need to show only relative link.
is this related with babel?
I dont know, why do you think its related?
try to update 1.6.0-beta2, let me know the outcome.
no matter what I put in scheme (abs, full, -1), it always generate full llink
It is in the core, because the link would not be the email's domain, would it?
For unsubscription link in email it is recommended to add &scheme=
full
(RTFM) but link is always generate in full URL no matter what setting I use..-1 : (default value) URL is relative to site_url 0 : see http 1 : see https full : URL is absolute, prepended with site_url from config abs : URL is absolute, prepended with base_url from config http : URL is absolute, forced to http scheme https : URL is absolute, forced to https scheme