TOPIC:

Update Joomla CRM tables from Breeze form 5 days 2 hours ago #273945

  • Topic Author
  • tayling
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 122
  • Thanks: 0
Hi
I woud like a quote to create and script that updates JoomlaCRM fomr a Breeze Form.
It would have to populate two tables - the companies and the People.

Please let me know if possible.

Regards

Tonu

Please Log in or Create an account to join the conversation.

Update Joomla CRM tables from Breeze form 5 days 1 hour ago #273947

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10068
  • Karma: 3
  • Thanks: 679
Hi,

basically, you can add the code for update table in end submit pieces.
$this->execPieceByName('ff_InitLib'); //Include BreezingForms Library
$db = JFactory::getDBO();//Get Database Object

$sql='UPDATE table_name SET column1 = value1  WHERE condition';

$db->setQuery($sql);
$result = $db->execute();

Hope this helps

And please replace query with yours:
UPDATE table_name SET column1 = value1  WHERE condition

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Update Joomla CRM tables from Breeze form 5 days 1 hour ago #273950

  • Topic Author
  • tayling
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 122
  • Thanks: 0
Thanks for the reply.
Does the $db = JFactory::getDBO();//Get Database Object open all the tables in Joomla as includes both breezeforms and JoomlaCRM?

Thanks
Tony

Please Log in or Create an account to join the conversation.

Update Joomla CRM tables from Breeze form 5 days 1 hour ago #273951

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10068
  • Karma: 3
  • Thanks: 679
Hi,

yes :)

If you need more help, let me know

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.037 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

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!