Register    Login    Forum    Search    FAQ

Board index » Bugs » Bugs happen!




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: New contacts not listed
 Post Posted: Wed Feb 09, 2011 4:54 pm 
Offline

Joined: Thu Jan 20, 2011 11:38 am
Posts: 34
Location: Northern Ireland
I was adding a new contact to an existing customer however it doesn't appear on the contact list (where I assume it should appear given the headings at the top of the page which look ready made for a list). I have checked the database in the addressbook table and it is there, actually two of them as I thought I made a mistake the first time round.


Top 
 Profile  
 
 Post subject: Re: New contacts not listed
 Post Posted: Thu Feb 17, 2011 1:12 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
I tried on the demo and it seemed to work properly for adding the contact. There is a bug when selecting a contact as the address doesn't fill properly. To fix this bug, file: /modules/contacts/pages/main/js_include.php
Line 292 from:
Code:
   if (type.substr(2, 1) == 'm') {
To:
Code:
   if (type.substr(1, 1) == 'm') {
This will make the address and notes appear.

Dave


Top 
 Profile  
 
 Post subject: Re: New contacts not listed
 Post Posted: Thu Feb 17, 2011 1:37 pm 
Offline

Joined: Sun Apr 06, 2008 1:21 pm
Posts: 222
Location: Netherlands, Europe
Adding a contact is ok now.(after the bug fix)
But when editing a excisting contact the system answers with:

Quote:
The contact ID already exists in the system, please enter a new contact ID.


Suppliers contacts is no problem.

By the way, how to remove/delete a contact?

Jan

_________________
** Please use the search function of this board before posting **


Top 
 Profile  
 
 Post subject: Re: New contacts not listed
 Post Posted: Thu Feb 17, 2011 2:49 pm 
Offline

Joined: Fri Oct 26, 2007 3:55 pm
Posts: 3499
Location: Colorado, US
Couple of more bugs.
File: /modules/contacts/pages/main/template_c_contacts.php and /modules/contacts/pages/main/template_v_contacts.php, uncomment line 52 to read:
Code:
      if ($security_level > 3) echo html_icon('emblems/emblem-unreadable.png', TEXT_DELETE, 'small', 'onclick="if (confirm(\'' . ACT_WARN_DELETE_ACCOUNT . '\')) submitSeq(' . $crm_contacts->fields['id'] . ', \'crm_delete\')"') . chr(10);
File: /modules/contacts/pages/main/template_detail.php line 30 add after:
Code:
echo html_hidden_field('id', $cInfo->id) . chr(10);
To read:
Code:
echo html_hidden_field('id', $cInfo->id) . chr(10);
echo html_hidden_field('rowSeq', '')     . chr(10);
File: /modules/contacts/pages/main/pre_process.php lkine 481 add after:
Code:
  case 'delete':
To read:
Code:
  case 'delete':
  case 'crm_delete':
Dave


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 4 posts ] 

Board index » Bugs » Bugs happen!


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron