Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: delete/disable contact buttons Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
rudolf.riegler
Newbie
Newbie


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 25 December 2012 at 6:39am | IP Logged Quote rudolf.riegler

Hi,

i have no usage for the following "contact-buttons":

- new contact
- delete
- import contacts

How is it possible to delete / disable these buttons???

Best regards
Rudi

PS: I'm using .Net
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 26 December 2012 at 12:57am | IP Logged Quote Igor

The standard way of hiding interface elements in AfterLogic WebMail, regardless of the edition, is to locate where they're created in the code, and make sure 'wm_hide' CSS class is assigned to them.

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


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 27 December 2012 at 12:29pm | IP Logged Quote rudolf.riegler

Hi Igor,

I suppose the corresponding file is "Contacts-Screen.js", but I have no idea where these buttons are created in the code?!?!

E.g. I have tried the following code but it didn't work:

this._newContactObj.className = 'wm_hide';

Please help me!

Best regards
Rudi
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 28 December 2012 at 1:22am | IP Logged Quote Igor

In case of toolbar, a different approach might work. In js/contacts/contact-screen.js file, you'll find _BuildToolBar function which has a number of lines with toolBar.AddItem called there, and most of those lines have functions attached to them. You can try removing or commenting out those lines, along with the functions defined of course.

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


Joined: 12 November 2012
Online Status: Offline
Posts: 18
Posted: 28 December 2012 at 2:36am | IP Logged Quote rudolf.riegler

Wonderfull, now it works....thank's a lot!!!
Back to Top View rudolf.riegler's Profile Search for other posts by rudolf.riegler
 

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