SugarCRM integration and joomla User Registration

  • kheema
  • kheema's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 1

kheema created the topic: SugarCRM integration and joomla User Registration

Hi,

I need to create a User Registration form using BreezingForm so after Registration user can loggedin and see some specific content. simultaneously I want to send all the form information (submitted by User) into SugarCRM. i.e. a lead created in SugarCRM

Would it be possible using BreezingForms or ContentBuilder.

Awaiting for your response.

Regards,
Kheema
#68196
  • Posts: 7465
  • Karma: 150
  • Thank you received: 553

TheMuffinMan replied the topic: Re: SugarCRM integration and joomla User Registration

Hi,

you can redirect your data to sugarCRM, as it has an option to post data against a script that is delivered with it. It would basically be done like this

crosstec.org/support/index.php?pid=knowl...=viewentclient&id=99

You might need to add method="post", depends on what the receiving sugarcrm script expects on lead submission.

Regards,
Markus

===============================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#68402
  • kheema
  • kheema's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 1

kheema replied the topic: Re: SugarCRM integration and joomla User Registration

Thanks for your suggestion Markus, I will do testing using Breezingforms. however I've still a question there, would it be possible to make a joomla registration (like in joomla by default login from) so after fillup the form user have to logged in to the website to see any specific content.

Awaiting for your response.

Regards,
Kheema
#68555
  • kheema
  • kheema's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 1

kheema replied the topic: Re: SugarCRM integration and joomla User Registration

Hi Markus,

As per your suggestion I use the code you suggested, but I got an error on button click .

"Language string failed to load: invalid_address: Enter your email address hereYou must provide at least one recipient email address."

however a lead is created in sugar but its doesn't store the other user information, like First Name or Last Name.


Attached is the code I used and a screenshot of sugarCRM where you can see didn't get any information.

Regards,
Kheema
#68569
Attachments:
  • Posts: 7465
  • Karma: 150
  • Thank you received: 553

TheMuffinMan replied the topic: Re: SugarCRM integration and joomla User Registration

Hi,

did you specify an email address in the BF main configuration? If not, then please do so.

If the first and last names are not stored, then it seems that passing the submissions to the form didn't work out properly.
Could you please post me your current end submit pieces code?

Regards,
Markus

===============================================
Support Crosstec and get ALL EXTENSIONS and professional support for just $5
Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#68570
  • kheema
  • kheema's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 54
  • Thank you received: 1

kheema replied the topic: Re: SugarCRM integration and joomla User Registration

Hi Markus,

I had shared a code within notepad file, however I am pasting a code here, one thing need to notice here we cannot change the ID of any input field, as this Id generated by SugarCRM itself.
below is the Code.

$this->execPieceByName('ff_InitLib');

echo '
<form name="myresubmit" action=" itpreneursitbp.sugarondemand.com/index.p...int=WebToLeadCapture " method="POST">
<input id="campaign_id" type="hidden" name="campaign_id" value="231b573f-d48e-fdfe-c3ad-4f4b6cf90ea1" />
<input id="assigned_user_id" type="hidden" name="assigned_user_id" value="c70f9e7e-2031-148e-8970-4ddcb50f6c03" />
<input id="team_id" type="hidden" name="team_id" value="b4128dce-7acc-127d-9001-4af84e0a76f3" />
<input id="team_set_id" type="hidden" name="team_set_id" value="Marketing" />
<input type="hidden" name="somefield" value="'.htmlentities( ff_getSubmit('first_name') ).'"/>
<input type="hidden" name="somefield2" value="'.htmlentities( ff_getSubmit('last_name') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit('company_c') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit('job_role_c') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit('lead_country_c') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit('website_c') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit('phone_mobile') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit('webtolead_email1') ).'"/>
<input type="hidden" name="somefield3" value="'.htmlentities( ff_getSubmit('lead_subcribe_mailing_c') ).'"/>
<input type="hidden" name="description" value="'.htmlentities( ff_getSubmit('description') ).'"/>

<!-- and so on ... -->
</form>
<script>
document.myresubmit.submit();
</script>
';

exit;
#68573
Moderators: ForumSupporttomeperica
Time to create page: 0.104 seconds

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here