Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: Delete somethings Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gabor921
Newbie
Newbie
Avatar

Joined: 26 March 2015
Location: Hungary
Online Status: Offline
Posts: 6
Posted: 11 April 2015 at 3:50am | IP Logged Quote gabor921

Hi!

Can I delete some "options" on settings?

I want to delete "add identity" button/link in the Email accounts settings.
How can I do it?
Back to Top View gabor921's Profile Search for other posts by gabor921
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 13 April 2015 at 5:17am | IP Logged Quote Igor

Typically, hiding elements is done by removing those from templates. In this particular case, however, that can be adjusted by setting AllowIdentities to Off in data/settings/settings.xml file.

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

Joined: 26 March 2015
Location: Hungary
Online Status: Offline
Posts: 6
Posted: 13 April 2015 at 9:09am | IP Logged Quote gabor921

Thank you!
Back to Top View gabor921's Profile Search for other posts by gabor921
 
gabor921
Newbie
Newbie
Avatar

Joined: 26 March 2015
Location: Hungary
Online Status: Offline
Posts: 6
Posted: 13 April 2015 at 11:20am | IP Logged Quote gabor921

One more thing.
How can I change "Manage Folders" to "2015" text?
Back to Top View gabor921's Profile Search for other posts by gabor921
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 14 April 2015 at 4:51am | IP Logged Quote Igor

That text shows at the bottom of folders pane, as well as in Settings screen under Email Accounts - and both are found in translation files, see i18n/English.ini for example:

Code:
LINK_MANAGE_FOLDERS = "Manage Folders"


Code:
ACCOUNTS_TAB_MANAGE_FOLDERS = "Manage Folders"


After making changes in translation files, be sure to remove everything under data/cache/ directory to apply changes.

--
Regards,
Igor, AfterLogic Support



Back to Top View Igor's Profile Search for other posts by Igor
 
gabor921
Newbie
Newbie
Avatar

Joined: 26 March 2015
Location: Hungary
Online Status: Offline
Posts: 6
Posted: 14 April 2015 at 10:41am | IP Logged Quote gabor921

Thanks, but I want to remove the full link.
I want only the "2015" text without link and functions.
Back to Top View gabor921's Profile Search for other posts by gabor921
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 15 April 2015 at 5:25am | IP Logged Quote Igor

Oh then it's actually about modifying a template. Nothing too complicated, either - see templates/views/Mail/FolderListViewModel.html file:

Code:
<a href="javascript: void(0)" data-i18n="MAILBOX/LINK_MANAGE_FOLDERS" data-bind="i18n: 'text',
               attr: {href: manageFoldersHash}"></a>


You simply replace that bit of code with 2015 text.

If you need that to be done in account settings tab, too - it would be templates/views/Settings/EmailAccountsSettingsViewModel.html file.

Remember to purge everything under data/cache/ after making changes to templates, or translation files. Purging web browser cache might be needed, too.

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

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