Results 1 to 4 of 4

Thread: Can Sugar do this?

  1. #1
    pattie is offline Senior Member
    Join Date
    Apr 2009
    Posts
    23

    Default Can Sugar do this?

    Hello,

    I have a network marketing team that I want to provide a contact management system for. Currently we have a replicated site that captures lead information. The team member can only export their leads but nothing else.

    I am looking for a system that will allow me to keep my team replicated site with the lead information directly added to their user account. I'm using wildcard subdomains to replicate my team site.

    Can Sugar be configured to support a replicated portal page and drop the lead info directly into the users account?

    Is there already a created module for this? I looked through plug-ins but did not readily see anything that would work.


    Kindest regards

    Pattie

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: Can Sugar do this?

    Are you looking for a lead capture form? Something that will take a form from an external site and put it into Sugar assigned to a specific user?

    There is an example of how to do this in your sugar directory: examples/ExampleLeadCapture.php. It'll end up eventually posting to modules/Leads/Capture.php (action=../index.php?entryPoint=leadCapture)

    Hope that helps,
    Jason

  3. #3
    pattie is offline Senior Member
    Join Date
    Apr 2009
    Posts
    23

    Default Re: Can Sugar do this?

    Hi Jason,

    Yes, that is part of it, but I still need to be able to replicate the site using wildcard domains...

    http://username.sitename.com

    where the lead will go to the user who's site they are visiting.

    I'm trying to modify my current php code in my site to look for the info in my Sugar DB, but considering that I've been up for over 48 hours, that may be contributing to my confusion.

    I will review the examples and see if that helps.

    Kindest Regards
    Pattie

  4. #4
    pattie is offline Senior Member
    Join Date
    Apr 2009
    Posts
    23

    Default WebToLeadCapture

    I'm getting closer, but I'm still encountering some problems. I'm getting a blank page when the webtolead capture form is filled out.

    I have created the lead capture form through the campaigns and am getting the data to post to the account, but on submit I'm directed to: http://acceleratetowealth.com/member...bToLeadCapture

    I figure that I've done something incorrect on this but I'm not certain what it is.

    My form is:
    Code:
    <form action="http://mydomain.com/members/index.php?entryPoint=WebToLeadCapture" name="WebToLeadForm" method="post" id="WebToLeadForm">
    <input id="redirect_url" name="redirect_url" value="http://mydomain.com/bazi_movie.php" type="hidden">
    <input id="campaign_id" name="campaign_id" value="449e570b-8325-69c1-7782-49f0da0676da" type="hidden">
    <input type='hidden' name='lead_source' value='Web Site'>
    <input id="assigned_user_id" name="assigned_user_id" value='e9067c99-84b4-88f5-0cc1-49ef4793a039' type="hidden">
    <input id="req_id" name="req_id" value="last_name;" type="hidden">
    
    
                <div align="center">
                <table border="1" width="350" cellspacing="0" cellpadding="5" height="230">
                    <tr>
                    <td>
                    <table border="0" width="350" cellspacing="0" cellpadding="5" height="230"> 
                      <td valign="top" colspan="2" align="center">
                      <p align="center"><font color="#65162C" face="Arial"><b>Bazi Movie Ticket</b></font></p>
    
                      </td>
                      </tr>
                      <tr>
                      <td><font face="arial" size="2" color="#666666"><label>Full Name</label>
                      </td>
                      <td><input id="first_name" name="first_name" type="text">&nbsp;&nbsp;<input id="last_name" name="last_name" type="text"></td>
                      </tr>
                      <tr>
    
                      <td><font face="Arial" size="2" color="#666666"><label>Email Address</label></td>
                      <td><input id="webtolead_email1" name="webtolead_email1" onchange="validateEmailAdd();" type="text"></td>
                      </tr>
                      <tr>
                      <td><font face="Arial" size="2" color="#666666"><label>Phone Number</label></td>
                      <td><input id="phone_home" name="phone_home" type="text"></td>
                      </tr>
                      <td valign="top" colspan="2" align="center">
    
                      <input type="image" value="Submit" name="submit" src="images/admit_one_to_bazi_movie_ticket.jpg">
                      </td>
                    </tr>
                  </table>
                  </td>
                  </tr>
                  </table>
                </div>
                </form>
    In the webtoleadcapture.php file in the modules/campaigns folder I altered this:

    $users = array(
    'PUT A RANDOM KEY FROM THE WEBSITE HERE' => array('name'=>'admin', 'pass'=>'theactualpassfromthesqldb'),

    Am I supposed to do something else? Is this a bug? I noted the following on the wiki: http://developers.sugarcrm.com/wordp...s-in-sugar-51/, however, I'm not sure if this is related to the issue that I'm having.

    Any assistance would be appreciated.

    Kindest Regards

    Pattie
    Last edited by pattie; 2009-04-26 at 04:52 PM.

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: 2008-07-12, 06:13 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
  •