This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Layout Template Documentation Not Working

6 years ago · Last reply by SiteOrigin 6 years ago

Hi there,

I am working on a theme and we’d like to store some of the layouts in the codebase to “preserve” the original design state and promote better reuse of layouts.

I read through the documentation here: https://siteorigin.com/docs/page-builder/bundling-prebuilt/.

After adding the constants into the wp-config.php file – I am unable to see the output of the PHP data-dump that is mentioned – is there a new method for this that I might be missing?

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. SiteOrigin 6 years, 7 months ago

    Hi Derek

    Sorry for the hassle, the dump is outputted into the page markup when viewing the admin, in WordPress. An updated method of doing this is as follows:

    1. Export your layouts by editing the page, clicking LayoutsImport/ExportDownload Layout.

    2. Declare the folder you’ll be storing your layouts in as follows: https://github.com/siteorigin/siteorigin-corp/blob/develop/inc/siteorigin-panels.php#L11-L18.

    3. Upload your layouts to your folder of choice: https://github.com/siteorigin/siteorigin-corp/tree/develop/inc/layouts.

    I’m sorry we haven’t updated the docs with this easier method. We’re a small team and sometimes things slip through the cracks. I’m making a note to get those prebuilt layout docs updated. Hope this message is in time to help.

  2. derekcavaliero 6 years, 7 months ago

    No problem at all – I know that feeling.

    We’ll be purchasing a premium license soon for faster support if necessary :D

    Thanks for the help.

  3. SiteOrigin 6 years, 7 months ago

    Thanks for your understanding :)

    We can also go deeper into technical questions within our premium support scope. Feel free to email us on [email protected] if you have any pre-sale questions.

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.

Have a different question or issue?

Start New Thread