Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Contact field Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dmilasin
Newbie
Newbie


Joined: 15 November 2014
Online Status: Offline
Posts: 1
Posted: 15 November 2014 at 2:17am | IP Logged Quote dmilasin

Where i can change text for contact field for example Phone. I want to place text next to phone icon like: "Fax","Mobile" or "Phone".

Can i add new field in contact like: mobile in Business info or i can change existing one for my needs
Back to Top View dmilasin's Profile Search for other posts by dmilasin
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6043
Posted: 17 November 2014 at 3:30am | IP Logged Quote Igor

You can modify templates/views/Contacts/ViewContactViewModel.html and adjust it according to your requirements. For example, if you take the following line:

Code:
<div class="row phone" data-bind="visible: '' !== personalPhone()">


and modify the class info as follows:

Code:
<div class="row" data-bind="visible: '' !== personalPhone()">


it will show just the "Phone" text there.

Upon making changes to template, be sure to purge data/cache/ directory content.

Adding more fields is certainly possible but would require quite a substantial code modification, adjusting the database structure, etc.

--
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