WordPress.org

Ready to get started?Download WordPress

Forums

Smart WYSIWYG Blocks Of Content
[resolved] Conflict with a couple other plugins (10 posts)

  1. jberg1
    Member
    Posted 3 years ago #

    Awesome Plugin!!

    I ran into a little issue with a couple other plugins. I'm using Event Calendar 3.1.4 and WP-Ecommerce 3.8.4. On the event pages and the product pages the Smart Block pulls the event details and product details instead of displaying the Block I have set. But it works fine on all other pages.

    Ever seen this before? Any possible solutions?

    Thanks for your help.

  2. keplerf
    Member
    Posted 3 years ago #

    I have the same problem

  3. Coen Jacobs
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for reporting. I need a little more info to reproduce this though. Are you guys using the shortcode to display a Smart Block inside a Event or Product page?

  4. jberg1
    Member
    Posted 3 years ago #

    I am using the widget in the sidebar. And on those specific pages (Events and Product pages), it pulls that content into that sidebar block instead of the block I have set in the widget.

    I have multiple "sidebars" in my template and I am calling the sidebar in my template file like this:

    <?php if ( !function_exists('dynamic_sidebar')
    || !dynamic_sidebar('sidebar-events') ) : ?>
    <?php endif; ?>

    Thanks for following up. It works great everywhere else. Just not on those pages (products and events). I was thinking it might be something to do with a query that those plugins are running is overriding your's (?).

  5. Blackbam
    Member
    Posted 2 years ago #

    Hello...
    same problem here. Is there any solution yet?

  6. Blackbam
    Member
    Posted 2 years ago #

    Hey,

    discovered the problem - the Plugin uses the following line:

    echo apply_filters('the_content', $post->post_content);

    Some other Plugins use the filter hook to add content like "events" to the content, which causes this Problem.

    Probably you should include an option to apply content filters (leave it to the user)?

    Thanks.

  7. Coen Jacobs
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for reporting. I'm in the stage of formatting the output itself through the functions that do this in the_content filter, but then done manually. Conflicts like this should not happen anymore after that.

    It will be available in the next release of the plugin.

  8. Spinal
    Member
    Posted 2 years ago #

    Hi Coen, any idea when the next release will be?
    I think I'm experiencing the same problem, using the WPSC plugin (getshopped.org): on product category pages, the SWBOC content from the sidebar widget is replaced with the main content. On regular pages and single product pages, it works fine.

    (FWIW, this issue happens in 0.5.2 and 0.6 using WPSC 3.8.8.1)

  9. Coen Jacobs
    Member
    Plugin Author

    Posted 2 years ago #

    I have not yet set an ETA for the next release as this has to be tested thoroughly.

  10. Spinal
    Member
    Posted 2 years ago #

    Okay, if you need a tester feel free to let me know :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic