This question is answered. Helpful answers available: 0. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 26-Jan-2020 17:58 Last Post By: cdowney4 Threads: [ Previous | Next ]
cdowney4

Posts: 4
Registered: 6-Jul-2008
sharing by e-mail
Posted: 26-Jan-2020 15:51
 
  Click to reply to this thread Reply
When sharing by e-mail, does anyone know what file to edit to change the subject line and body text that is automatically created? It creates a subject line of "Check this out" and inserts only the name of the folder in the body along with a link. These both give the appearance of being spam and I'd like to personalize them.
jGromit

Posts: 7,772
Registered: 31-Jan-2006
Re: sharing by e-mail
Posted: 26-Jan-2020 16:31   in response to: cdowney4 in response to: cdowney4
Helpful
  Click to reply to this thread Reply
Point well taken about the subject line. The only emails I've ever received with that subject line have been junk. Got one last week, ostensibly from someone who died two years ago. So, either spam or a miracle.

The subject line text is in the skin's texts/texts.properties file (or the appropriate language variant, if you're using one of them).

The body text is probably coming from somewhere hidden deep within the skin's Javascript, making it very difficult to modify. I'm not sure where to look - perhaps Laza can suggest something.

But of course, the person sending the email is free to edit the subject and body before he hits "send."
jGromit

Posts: 7,772
Registered: 31-Jan-2006
Re: sharing by e-mail
Posted: 26-Jan-2020 16:35   in response to: jGromit in response to: jGromit
Helpful
  Click to reply to this thread Reply
Found it. Take a look at the skin's js/laza.sharebuttons.js file, line 117.

The skin is probably calling the minified version, so after editing, you'd need to minify the result, with the name laza.sharebuttons.min.js.
cdowney4

Posts: 4
Registered: 6-Jul-2008
Re: sharing by e-mail
Posted: 26-Jan-2020 17:58   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Perfect. Thank you so much.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums