Multiple content blocks
MCBs Won't Update on Post Save (2 posts)

  1. markboulder
    Posted 2 years ago #

    This plugin is working great for normal pages/posts. I am trying to use it for a custom post (wp e-commerce products) and am running into a nagging issue. The content blocks show on the edit post page, and when you add content to a post for the first time in any given block, it saves as it should and displays. The issue is when you try to change the value in the block after there already is one in place, it does not update when you save the post. It does save if you make the change in the custom field text area below, but obviously this kind of defeats the purpose as there is no wysiwyg for those.

    I am not getting any error, and I would imagine this is a relatively simple fix, as everything is displaying as it should, and saving the first time around, it's just not updating the value if there is already a postmeta record in place (and only for updates to the block itself - it saves changes made in the custom field area).

    I did have to modify refresh_blocks() in class.MCB.php in order to have the blocks still show on the back end after saving, as wp e-commerce is jacked up in the way it generates permalinks, but I don't see anywhere else where this would be causing an issue.


  2. Trendwerk
    Plugin Author

    Posted 2 years ago #

    Hi Mark,

    That's strange. Does it work for other post types or just for WP E-commerce? MCB should work the same for any kind of post types. However, I cannot change the effect that a plugin has on mine. Maybe WP E-commerce does some weird stuff when saving a product?

    I don't really have time to test this plugin right now, so I'll look into that later. Maybe you can try a little debugging to provide some more information?


    P.S. Why don't you use WooCommerce? It's a ideal solution for a webshop :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multiple content blocks
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic