View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018071 | phpList 3 application | General | public | 01-04-16 16:50 | 16-01-19 09:56 |
Reporter | gingerling | ||||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | 3.2.4 | ||||
Target Version | Fixed in Version | ||||
Summary | 0018071: Allow specifying of prefrences page with url | ||||
Description | Allow something like this: <a href=”[PREFRENCESURL]&=8””title=Your special offer preferences”</a> to be used to send subscribers to the preference page based on subscribe page 8, regardless of what their default subscribe page is. Full description of use being written but not yet finished. | ||||
Tags | No tags attached. | ||||
|
Without click tracking <a href=”[PREFERENCESURL]&=8” title=Your special offer preferences”>Special Offer</a> works as expected. With clicktracking enabled it doesn't, so that's where it needs to be fixed. |
|
With click tracking <a href=”[PREFERENCESURL]& ;=8” title=Your special offer preferences”>Special Offer</a> works |
|
sorry, mantis mangles the code, but basically: with clicktracking you need to write & amp; (without space) instead of & |
|
I still can't get <a href=”[PREFERENCESURL]&=8” title=Your special offer preferences”>Special Offer</a> working with or without click tracking. From the code above I get Special Offer=0A<=E2=80=9Dhttp://ethicalpets.hosted.phplist.com/lists/lt.ph= p?id=3DNh8DCwNOCFNSGgQFBgA> in the email. It's not a click-able link, guess the html isn't right. If I extract the url and move it to a browser manually I get a whitepage (see screenshot) |
|
|
|
In the URLs above there's a missing "id" -- working URLs specifying the subscribe page template used on preferences page look like: https://ethicalpets.hosted.phplist.com/lists/?p=preferences&uid=38f9244824d8197167732b6c3eb6c25c&id=8 In a campaign composition window (with editor GUI turned off) this looks like (linked to pastebin for 1 month as Mantis is incapable of printing code unparsed): http://pastebin.com/pgyrzU6h If the & character is not properly used as an HTML entity then the resulting URL will be malformed after parsing during sending. E.g. this in the campaign editor: [PREFERENCESURL]&id=8 Will be presented in email as this malformed link, which does not properly pass the ID parameter via GET, and will result in the default preferences page being presented: https://ethicalpets.hosted.phplist.com/lists/?p=preferences&id&uid=38f9244824d8197167732b6c3eb6c25c Notice that the id is included as &id, not &id=8 |
|
Hi, I have now tested this placeholder+html code http://pastebin.com/qLZRQfqg (patebin 1 month) with the ckeditor on and it works well, you can indeed specify the page. any small error in the html causes big issues with the editor on though, it's all a lot easier to use with the editor off. I will mostly be using this in the footer so it's not too affected by the editor thankfully :) Click tracking seems to work fine etc. |
|
without the editor, you need to use "& amp;" instead of "&" and it will work |
|
yes, I think we have this working now - good stuff! I think it always needs the amp;, it does not work at all without it - with or without the editor, but with amp it works all the time :) all good :) |