Closed marutim closed 5 years ago
@kakshak Please investigate and report back with the cause of the conflict. If your estimate is less than a 5
, move forward with a fix. Otherwise mark it for discussion and we will review it together.
@kevinwhoffman I've found the cause the issue. The issue is with $instance['id']
of Form. The ID is not proper set with Page Builder by SiteOrigin
plugin. So, that's why it's not able to save the Form in Admin-area
as well as not displaying in Front-end
. But to Fix this issue, I'll require more then 5
hours.
So, please let me know your thoughts on this. Please let me know when you're available So we can discuss this together.
@kakshak We can discuss after this week's team call so I can better understand the issue. Thanks.
Participants: @kakshak @kevinwhoffman Topic: Compatibility of Give donation form widget within Site Origin page builder Result: Kakshak and I have reviewed this issue and confirmed that the Give donation form shortcode and widget work as expected when you are outside of the Site Origin page builder. However when you select the donation form widget as a "block" within the page builder, then the widget fails to render. We believe this is because the form ID field is not being saved correctly, because when you return to the widget-block after save, the form field is reset to default value.
@marutim I have advised Kakshak to investigate this for one more hour, and if he cannot find a solution, we will contact the Site Origin developers for assistance.
In the meantime, we have confirmed that pasting the shortcode [give_form id="xx"]
into the Text
or Custom HTML
blocks within the Site Origin page builder seems to work as expected. You can provide that as a workaround to the customer for now.
@kevinwhoffman I've looked over the ID updation code in page builder plugin and I think the way that they have updated the ID that is conflicting with our plugin because ID is updated wrong from their way. Don't know why exactly. But I still need 1 hour to debug this functionality. If there is anything then I'll update you for the same.
Participants: @kevinwhoffman @kakshak
Topic: Why Site Origin widgets are overriding the Give Form ID field
Result: We have discovered that the Give form widget uses an id
property to indicate the form ID that should be rendered in the widget. When Site Origin saves a widget within the page builder, it also uses an id
property to indicate the widget ID, which causes the Give form ID to be overwritten. The only solution we see is for either Give or Site Origin to change the name of the id
property to something more specific like form_id
for Give or widget_id
for Site Origin.
Changing the id
property for Give could have harmful effects on backwards compatibility and cause existing widgets to break, so for now we are recommending the shortcode workaround described in https://github.com/impress-org/give/issues/3823#issuecomment-440566741.
I will discuss with @DevinWalker and determine whether we think it is worth putting more time into a compatibility fix that does not appear obvious at the moment.
Per team discussion, we are iceboxing and relying on the shortcode workaround unless additional reports come in.
Today, the user followed back checking for updates.
Closed, Replaced with #3962
Bug Report
User Story
As a user, I would like the Give plugin to play nicely with the Page Builder by SiteOrigin Plugin
At the moment, when I add the Give - Donation form widget in a row created by the page builder. It does not work. It does not throw any error but if you publish/update the page and check the widget, you will see there is no Give form selected
We can not even use the Give donation form shortcode in the siteOrigin editor widget. It outputs nothing.
Current Behavior
Give donation widget or shortcode does not work with Pagebuilder.
Bug Type
Steps to Reproduce
Visuals
Related
HS Links: https://secure.helpscout.net/conversation/692350522/27903/ https://secure.helpscout.net/conversation/707569136/29211/
Acceptance Criteria
Environment