Home>Support>page builder not showing

page builder not showing

By Eco, 10 years ago. Last reply by Andrii Holovan, 7 years ago.

I installed the plugin page builder on our blog and tried this on the following page: http://www.ecomarkt.nl/blog/acai-energie-smoothie/. Unfortunately the layout I’ve created is not showing. I’m running this webshop on Magento with a WordPress integration (Fishpig). Can you please help me to fix this problem?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 2 months ago Greg Priday
    Hi, I Work Here

    Hi Eco

    For this, you’d need to contact the developers of Fishpig. I’ve had a look at your source and it doesn’t seem like anything from Page Builder is loading. I’m not sure how Fishpig works, but it doesn’t seem like it’s compatible with Page Builder.

    Sorry I couldn’t be more helpful.

  2. 7 years, 10 months ago Andrii Holovan

    Hi, guys.
    Seems this is still the issue. So, we found the way to solve but it’s interested what you are think about it. And It works on multistore level also
    1) create file wp-get-post.php in WP dir

    <?php
    if (!defined('ABSPATH')) {
        /** Set up WordPress environment */
        require_once( dirname( __FILE__ ) . '/wp-load.php' );
    }
    if (isset($_GET['post_id'])) {
        echo siteorigin_panels_render(intval($_GET['post_id']));
        siteorigin_panels_print_inline_css();
    }
    

    2) extend function getPostContent() method which in class Fishpig_Wordpress_Model_Post with the code:

    public function getPostContent($context = 'full')
        {
            $key = rtrim('filtered_post_content_' . $context, '_');
    
            if (!$this->hasData($key)) {
                $data = file_get_contents(Mage::helper('wordpress')->getBaseUrl() . '/wp-get-post.php?post_id=' . $this->getId());
                if ($data && $data != "") {
                    $this->setData($key, Mage::helper('wordpress/filter')->applyFilters($data, $this, $context));
                } else {
                    $this->setData($key, Mage::helper('wordpress/filter')->applyFilters($this->_getData('post_content'), $this, $context));
                }
            }
    
            return $this->_getData($key);
        }
    

    I’ll appreciate for any improvements.
    Thanks!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More