Results 1 to 7 of 7

Thread: Modifying Leads list... adding relationship from calls...

  1. #1
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Modifying Leads list... adding relationship from calls...

    So far I got...
    Code:
    'NEXT_CALL' => 
      array (
        'width' => '5%',
    	'module' => 'Calls',
        'label' => 'Next Call',
        'default' => true,
      ),
    And that's about it, obviously nothing helpful... I want to add a field, and the field needs to get the next scheduled call for this specific lead.

    Relationships seem to only be for adding things at the bottom of the details page, I'm looking to add this to the leads list page.

    Any ideas? I figure there is some method to use to add some kind of custom code that will return the date, correct? Can I modify 'customcode' => and point that at a function that will query the database using the seed and get the next call for that specific lead? Or is there a better way?

    Edit:

    So basically I want it to do this:
    Lead Name, Lead Phone #, Lead E-mail, Next call time from Call List

    On the lead list.
    Last edited by wdroush; 2009-11-04 at 03:55 PM.

  2. #2
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: Modifying Leads list... adding relationship from calls...

    Is there no way to just put in a SQL query as a field?

  3. #3
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: Modifying Leads list... adding relationship from calls...

    Maybe this should be in development help too. :P

  4. #4
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: Modifying Leads list... adding relationship from calls...

    Is this not something that is suppose to be done?

  5. #5
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: Modifying Leads list... adding relationship from calls...

    Bump.

    Still digging in docs and experimenting.


    I could use customCode, put in a javascript call, and use a javascript function to pull and format it, but geez, 50 AJAX requests per page... that will probably hurt the end user, or the server.

    Or I can use an image, embed a PHP image, make PHP call and render it...
    Last edited by wdroush; 2009-11-05 at 07:19 PM.

  6. #6
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: Modifying Leads list... adding relationship from calls...

    It worked, but is terribly broken functionality wise, as expected, you can't sort images...

    I'll be hanging around for any ideas on how to join another table and hand pick results.

  7. #7
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: Modifying Leads list... adding relationship from calls...

    Here is an idea, how about using curl to call the php page I made, which will just return a date.

    That would work, correct?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 2010-08-27, 10:45 PM
  2. Replies: 18
    Last Post: 2009-11-23, 06:23 AM
  3. Leads list with calls
    By junglelima in forum Help
    Replies: 1
    Last Post: 2009-07-29, 07:44 PM
  4. Replies: 0
    Last Post: 2008-03-06, 03:12 AM
  5. adding leads to target list
    By johnsam in forum Help
    Replies: 0
    Last Post: 2006-01-15, 10:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •