This repository has been archived by the owner on Sep 13, 2024. It is now read-only.
Replies: 1 comment
-
Wow! That's great work @apcloic and an amazing guide you shared. This takes me back to the Webform days where a potential lead filled out a form and boom instantly you had a newly created lead in the system. I will certainly be giving this a shot soon and will let you know the end result. Thanks again man, if this works you're my hero! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I've just finished a simple integration of YetiREST API in Wordpress so I would like to share it with YF community.
Requirements :
Use case : when someone fill the form on your wordpress website, a new contact record is created with its filled name and email.
Bear in mind that this is really basic (no error check, etc.).
1- Configure and activate API on Yetiforce.
#11770
2- Download a copy of YetiREST
https://github.com/YetiForceCompany/YetiForceScripts/tree/master/YetiREST
3 - Put it in a Wordpress folder (for example in /wp-content/themes/your-child-theme/includes)
Note : Don't forget to install dependencies with composer
4 - In YetiREST/config.php replace default values with your own (created on yetiforce side in webservice - applications and webservice - users modules)
5 - In the file functions.php, add and adapt the following code :
As I'm not a programer, let me know if there is a better way to use Yetiforce REST API with Wordpress.
Build with the help of the following page : https://dev.to/jorbascrumps/integrating-apis-with-wordpress-and-contact-form-7-1657
Regards,
Beta Was this translation helpful? Give feedback.
All reactions