Token doesn't appear to be working correctly...
| Project: | Mail Editor |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
So, where I am able to edit my mail templates there is a token for "!manage_url" and "!url". For some reason these are leaving out the www.mysite.com from the token. for instance, the link provided in the subscription email looks like this:
| Link: http:///Proxy2008
| Direct unsubscribe link (content type):
| http:///s/del/node/type/story/-1/1080/20240859462a5c51bca9eb3f27ac04f1
| --------------------------------------------------------------------
| This is an automated message. Please do NOT reply to the sender address!
| To manage your subscriptions go to
| http:///user/1080/subscriptions
Obviously, the triple "///" is not correct, and the link should be showing up with www.mysite.com between the second and third forward slashes... Any ideas?
Thanks in advance!
-John

#1
c'mon, anyone got any ideas? is there somewhere where I need to be defining what the domain name is so that it can be included in the token?
Anyone? Thanks in advance...
-John
#2
Have you seen the message on the admin/settings/subscriptions form?
#3
Well, I went to the "administer>>site configuration>>subscriptions" page and looked there...didn't see anything. The problem is that when I am looking at my "administer>>site configuration>>mail templates" page there is now place to edit the "!manage_url" token.
The entire mail template is this:
| Greetings, !name.
|
| Your subscription on !site
| notifies you of {{!is_new==0?:a new post:
}}{{!is_updated==0?:an updated post:
}}{{!is_old==0?:new comments:
}}|
{{!is_published==1?:| ***** This post is unpublished! *****
}}{{!term_name==!term_name?:| Category: !term_name
}}{{!sender_name==!sender_name?:| Author: !sender_name
}}{{!sender_has_contact_page==0?:| Contact: !sender_contact_page
}}| Title: !title
{{!is_old==1?:
!teaser
}}| Link: !url
| Direct unsubscribe link (!subs_type):
| !unsubscribe_url
{{!has_new_comments==1?| --------------------------------------------------------------------
!comments:}}| --------------------------------------------------------------------
| This is an automated message. Please do NOT reply to the sender address!
| To manage your subscriptions go to
| !manage_url
The tokens using the url are the ones that are not functioning...the !name and the !subs_type work just fine, and the url ones work fine except they are leaving out the www.mysite.com. Other than that the link is fine...
Thanks,
-John
#4
There should be a red message at the top of the admin/settings/subscriptions form, that alerts you to the problem and explains what to do about it. Is this not showing for you?