Results 1 to 8 of 8

Thread: Lead Capture as a Joomla 1.5 Module

  1. #1
    shane55 is offline Junior Member
    Join Date
    Jan 2007
    Posts
    2

    Default Lead Capture as a Joomla 1.5 Module

    This Information is outdated, please see the following post:
    Last edited by shane55; 2008-02-12 at 03:55 PM.

  2. #2
    shane55 is offline Junior Member
    Join Date
    Jan 2007
    Posts
    2

    Default Re: Lead Capture as a Joomla 1.5 Module

    Well, I had this thing working but it wasn't exactly elegant, so instead I decided to play with the campaigns lead capture form wizard. After creating it and stripping out all of the formatting for color and text, I am left with what follows. It integrates fine into joomla and inputs leads great except Email doesn't seem to be carried in and stored in the database. I selected the email box from the wizzard and never changed any variable names so I am not sure why this isn't passing through - anyone else have this problem? Attached is my revised code!

    Code:
    <td><span sugar="slot">Email: </span></td>
                <td><span sugar="slot"><input id="webtolead_email1" name="webtolead_email1" onchange="validateEmailAdd();" type="text" /></span></td>

    I think this is where the error is - is webtolead_email the wrong name for this field - what is the name of the email field in the leads table? any help would be greatly appreciated.
    Attached Files Attached Files

  3. #3
    stro is offline Junior Member
    Join Date
    Jun 2006
    Posts
    3

    Question Re: Lead Capture as a Joomla 1.5 Module

    I had the same issue inside and outside of joomla. i created a webtolead form and posted it on my site to test. i put information in all fields but only some of the fields came through to the db. not sure where the break is, but would like to know.

    Greg

  4. #4
    TeckniX is offline Member
    Join Date
    Aug 2009
    Posts
    8

    Default Re: Lead Capture as a Joomla 1.5 Module

    I'm binging this back up from the dead - I'm currently using SugarCRM Professional Version 5.2.0f (Build 5688)
    and having the exact same issue. It seems that the webtolead_email1 or webtolead_email2 aren't being saved to the database at all.

    The Create Lead Form, should have all the needed information, yet it's still not working.

    If anyone could help me understand what happens to the lead email address once it is submitted or how it is saved, I would greatly appreciate.

    I tried to look at the Vardefs to see if maybe something was in there, but couldn't really understand what was happening.

    http://www.sugarcrm.com/wiki/index.p..._Documentation

  5. #5
    dreverri is offline Advanced Support Engineer
    Join Date
    Jul 2007
    Posts
    11

    Default Re: Lead Capture as a Joomla 1.5 Module

    This Knowledge Base article might be relevant:
    http://kb.sugarcrm.com/custom/an-alt...dcapture-form/

  6. #6
    TeckniX is offline Member
    Join Date
    Aug 2009
    Posts
    8

    Default Re: Lead Capture as a Joomla 1.5 Module

    Thank you for the prompt response, except I don't seem to have access to the Knowledge Base http://kb.sugarcrm.com

    When I try to access the link you've provided, I get the following:


    Not sure what I'm doing wrong since it never asked me for a login/password...

  7. #7
    TeckniX is offline Member
    Join Date
    Aug 2009
    Posts
    8

    Default Re: Lead Capture as a Joomla 1.5 Module

    HAHAHAHA - I figured it out, this is super lame btw....

    If you're logged in to the forum, the KB will try to use that login for whatever reason and gives you the user/pass error found above.

    If you're not logged in then you can view the KB without any problems! Now that's a really stupid BUG. FIX IT!!!!

  8. #8
    davehaertel is offline Member
    Join Date
    Jan 2009
    Posts
    8

    Default Re: Lead Capture as a Joomla 1.5 Module

    Quote Originally Posted by TeckniX View Post
    I'm binging this back up from the dead - I'm currently using SugarCRM Professional Version 5.2.0f (Build 5688)
    and having the exact same issue. It seems that the webtolead_email1 or webtolead_email2 aren't being saved to the database at all.

    The Create Lead Form, should have all the needed information, yet it's still not working.

    If anyone could help me understand what happens to the lead email address once it is submitted or how it is saved, I would greatly appreciate.

    I tried to look at the Vardefs to see if maybe something was in there, but couldn't really understand what was happening.

    http://www.sugarcrm.com/wiki/index.p..._Documentation
    I'm not sure if you got this figured out or not, but I would take a look at the fact that joomla is infamous for it's editors and core files stripping out code that it doesn't deem necessary or that it deems a security risk. I have had a lot of headaches over trying to figure this out and have gone to just creating the articles with enough information to save it and then injecting the code into the article table in the database, that way it bypasses Joomla's checks and it accepts the code as it was written from Sugar's web form generator.

    Hope that helps

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. HOWTO: Edit a Campaign Lead Capture Form?
    By baigeman in forum Help
    Replies: 3
    Last Post: 2007-12-11, 04:46 AM
  3. Online Lead Capture and Self Service Portal
    By cehrenthal in forum General Discussion
    Replies: 7
    Last Post: 2006-10-23, 02:21 AM
  4. From lead to order
    By george_bbch in forum Feature Requests
    Replies: 0
    Last Post: 2006-09-26, 02:02 PM
  5. Replies: 1
    Last Post: 2006-09-11, 03:38 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
  •