Author |
|
alpha_one Newbie
Joined: 23 March 2011 Location: Sweden
Online Status: Offline Posts: 6
|
Posted: 29 September 2011 at 4:06am | IP Logged
|
|
|
Hello,
Is it possible to change the standard folder name that AfterLogic Webmail creates?
(Sent, drafts and so on)
I know its possible to edit these in the webmail but I would like a standard setup that makes these on the imap-server in Swedish instead..
Thank you!
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 29 September 2011 at 12:45pm | IP Logged
|
|
|
Check common/class_folders.php files, you'll find GetFolderName function there, it provides matching default name for particular folder type. Constants which define supported folder names are listed at the beginning of the same file. Please note that the same names are used when searching for folders on setting up the account, and if folder of particular type isn't found it will be created. Also, it's important to understand we're speaking of IMAP folder names here, while names of folder types displayed in webmail interface are defined in translation file, lang/Swedish.php in your case.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
alpha_one Newbie
Joined: 23 March 2011 Location: Sweden
Online Status: Offline Posts: 6
|
Posted: 03 October 2011 at 12:57pm | IP Logged
|
|
|
Correct, I want to change the default folder names created by the alw, so the class_folders.php is the right place..
I have tried different scenarios but not got an 100% working solution.
For example, if I would like to change "Trash" to "Borttaget", which all lines should I edit?
Line 37: define('FOLDERNAME_Trash', 'Trash');
Line 161: case strtolower(FOLDERNAME_Trash):
Line 161: $this->Type = FOLDERTYPE_Trash;
Line 208: case FOLDERTYPE_Trash:
Line 209: $foldername = FolderTrash;
Line 579: $this->_localSortFunction(FOLDERNAME_Trash, $newFoldersArray, $newFolders);
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 04 October 2011 at 12:16am | IP Logged
|
|
|
Code:
Line 37: define('FOLDERNAME_Trash', 'Trash'); |
|
|
This line defines a value for FOLDERNAME_Trash constant, which is "Trash" by default, and this is where it should be replaced I think. All the other lines would use the constant name itself and not its value.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|