EDMdesigner / editor-issues

This is an issue tracking repository for reporting bugs, improvements and feature requests of our email editor.
5 stars 1 forks source link

Social Share element uses placeholder text when URL option set to "campaign's" #74

Closed GVSupport closed 7 years ago

GVSupport commented 7 years ago

One of our customers noticed that when they insert a 'Social Share' element to a design and set the URL to "campaign's", the social links are using the placeholders "##textToShare##" and "##linkToShare##" (the full links are below).

image

I assume there is some configuration needed on our end in order to set these placeholders to something meaningful for the campaign. Do you have a working example of how to configure this?

Also, is there a way we can disable this option so users can only see the "custom" option?

Facebook:

"https://www.facebook.com/dialog/return/close?error_code=100&error_message=href+should+represent+a+valid+URL#_=_"

Twitter:

"https://twitter.com/intent/tweet?text=%23%23textToShare%23%23%3A%20%23%23linkToShare%23%23"

LinkedIn:

"https://www.linkedin.com/uas/login?session_redirect=https%3A%2F%2Fwww%2Elinkedin%2Ecom%2FshareArticle%3Ftitle%3D%2523%2523textToShare%2523%2523%26mini%3Dtrue%26url%3D%2523%2523linkToShare%2523%2523"

Email:

Creates an email to ##emailToSend##, subject ##textToShare## and content ##textToShare##: ##linkToShare##

smiska commented 7 years ago

Basically, what you would need to do here is a string replace, in which you switch ##textToShare## and ##linkToShare## to something meaningful. It may also help to take a look at our examples on implementing similar elements, like Custom Strings. Disabling the default behavior would require developing a custom implementation of this toolbox. In case you require this functionality, I would suggest to contact our main email address. Is there anything else I can help you with?