soflyy / oxygen-bugs-and-features

Bug Reports & Feature Requests for Oxygen
https://oxygenbuilder.com/
315 stars 31 forks source link

Integration with DotDigital forms #3501

Open Knapton-Wright opened 4 months ago

Knapton-Wright commented 4 months ago

Describe the bug A clear and concise description of what the bug is. Using the DotDigital form widget within Oxygen brings up an error when inserting it. This works within Gutenberg and according to DotDigital, it's possibly an issue with the namespaced classes:

Unfortunately, Oxygen Builder does not support widgets with namespaced classes

Screenshot 2024-02-06 at 10 14 17 am

Provide the link to a Sandbox install where the issue is present. If the issue only exists on a specific post or template, provide a direct link to that post or template. https://oxygen-qrrasdkkltdxl.oxygen-demo.qsandbox.org/ Access Code: 0874

Kpudlo commented 4 months ago

Hello @Knapton-Wright,

Thank you for the report. Please try adding the following code to a Code Snippet using a plugin such as Code Snippets or WP Code Box (paid):

function oxy_widgets_init() {

    register_sidebar( array(
        'name' => 'Main Sidebar',
        'id' => 'main_sidebar',
        'before_widget' => '<div>',
        'after_widget' => '</div>',
        'before_title' => '<h2 class="rounded">',
        'after_title' => '</h2>',
    ) );

}
add_action( 'widgets_init', 'oxy_widgets_init' );

If that doesn't fix the issue, please open a Support Ticket (https://oxygenbuilder.com/support), and provide a staging environment where we can see the problem. We'll be glad to assist further. If you can also include a link to this discussion in that ticket, that would be appreciated.