Unnecessary URL in mail feedback (V3 EWriter skins)

This forum is for discussions on the Help & Manual Premium Pack and the Premium Pack Toolbox configuration utility introduced with Premium Pack 3

Moderators: Alexander Halser, Tim Green

Unnecessary URL in mail feedback (V3 EWriter skins)

Unread postby Tim Frost » Thu Sep 07, 2017 9:44 pm

Could we please have an option to remove the 127.0.0.1 URL path and GUID from the e-mail body? These add nothing useful to the feedback in the EWriter case and look very messy in the generated e-mail message. Perhaps the just the topic name would be useful, but in our case the topic title in the Subject is enough in most cases.
Tim Frost
 
Posts: 210
Joined: Mon Nov 22, 2004 11:45 pm

Re: Unnecessary URL in mail feedback (V3 EWriter skins)

Unread postby Tim Green » Fri Sep 08, 2017 6:57 am

Hi Tim,

You can change this quickly by editing the hm_mail_feedback.js file in the baggage of the skin. Search for this:

Code: Select all
=window.location.protocol+"%2F%2F"+window.location.hostname+window.location.pathname;

Replace it with this:

Code: Select all
=window.location.pathname.substr(window.location.pathname.lastIndexOf("\/")+1);


Make a backup first, as it's easy to make mistakes. This won't give you an option for switching back and forth, but it will allow you to remove the path in an edited version of the skin. I'll see about making a permanent change for this shortly.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Tim Green
Site Admin
 
Posts: 19366
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Unnecessary URL in mail feedback (V3 EWriter skins)

Unread postby Tim Frost » Fri Sep 08, 2017 10:09 am

Thanks, this is perfect.
Tim Frost
 
Posts: 210
Joined: Mon Nov 22, 2004 11:45 pm


Return to Premium Pack and PP Toolbox

Who is online

Users browsing this forum: No registered users and 1 guest