Author |
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 25 December 2012 at 6:39am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 December 2012 at 12:57am | IP Logged
|
|
|
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 |
|
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 27 December 2012 at 12:29pm | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 28 December 2012 at 1:22am | IP Logged
|
|
|
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 |
|
|
rudolf.riegler Newbie
Joined: 12 November 2012
Online Status: Offline Posts: 18
|
Posted: 28 December 2012 at 2:36am | IP Logged
|
|
|
Wonderfull, now it works....thank's a lot!!!
|
Back to Top |
|
|