Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Possible to remove [2] in subject line? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
kenski
Newbie
Newbie


Joined: 25 December 2015
Location: United States
Online Status: Offline
Posts: 2
Posted: 25 December 2015 at 12:49am | IP Logged Quote kenski

Hi! This has been discussed on the webmail pro side, but I was wondering if there's a solution for this for (php) lite users. I tried following the directions for pro but the code to modify does not seem to be present in the app.js file. Any help on this would be most appreciated. Thanks in advanced!
Back to Top View kenski's Profile Search for other posts by kenski
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 25 December 2015 at 2:17am | IP Logged Quote Igor

WebMail Lite and Pro share a bigger part of the codebase, so usually, the solution suggested for the Pro will work for Lite as well. Most likely, the solution you're referring to was for older version of the product.

In current version, you would need to locate the following function in static/js/app.js file:

Code:
Utils.Message.joinReplyPrefixesInSubject = function (sSubject, sRePrefix, sFwdPrefix)


You'll find the following line there:

Code:
sReSubject += sResPart.prefix + '[' + sResPart.count + ']: ';


Modify it as follows:

Code:
sReSubject += sResPart.prefix + ': ';


Note that app.js file isn't used by default - its minified version app.min.js is used. To change that, add the following item to the array defined in data/settings/config.php file:

Code:
'labs.use-app-min-js' => false,


Hope this helps!

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
kenski
Newbie
Newbie


Joined: 25 December 2015
Location: United States
Online Status: Offline
Posts: 2
Posted: 25 December 2015 at 2:16pm | IP Logged Quote kenski

Hi Igor. Thanks for the reply! Adding the code below worked:

sReSubject += sResPart.prefix + ': '

Appreciate the quick response on a holiday! Merry Christmas.
Back to Top View kenski's Profile Search for other posts by kenski
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide