Skip to Content Skip to Menu

🌟Discover the Joomla AI Plugin that wrote its own story! - CB Editor Assistant 1.1now for Joomla 3, 4 & 5!
✍️ 5-Day Free Trial, then 🎯 save up to 30% with our 🛍️ Intro Offer (First 50 users, ends Dec. 25th)
🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

help with plugin coding

  • combrains
  • combrains
  • OFFLINE
  • Posts: 1
  • Thanks: 0
  • Karma: 0
10 years 10 months ago #240785 by combrains
help with plugin coding was created by combrains
Hello to all Joomlapolitans!

I am currently in the process of coding a CB Tab plugin that will allow users to edit their contact information stored in their CiviCRM contact record.

I did much searching before beginning the process of writing the plugin, and it seems that this is a highly requested feature, but no-one has stepped up to do anything about it.

Please keep in mind that I am a relative novice when it comes to coding for Joomla, CB, Civi, and PHP in general. So far, I have managed to get the user's contact information from Civi and render it in a set of HTML fields in a new CB tab.

However, I am stuck on the best way to update this information once a field has been changed. How would I go about calling a PHP function that updates the Civi information (I know the appropriate code to use for the civi API call).

Am I looking at this the right way? Or have I used the wrong CB function to render the tab? Should I be calling a different CB function on my HTML button? How would I do this?

Any suggestions/code would be appreciated. You can find my code to date on my Github repo: github.com/combrains/civi-cb

Cheers

Combrains

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

Moderators: beatnantkrileon
Powered by Kunena Forum