Jump to content

Creating Custom Pagebuilder Grids


K4RL

Recommended Posts

I want to build a custom grid for my front page but every time I save it and try to add blocks in the page builder it allows me to add them but they do not appear on the front page.

Do I need to do something to add more widget places?

ipb1.thumb.PNG.9555ef7a9af3d7416ac56a8bc

<div>
    <div class='ipsGrid'>
        <div class='ipsGrid_span6'>
            {template="widgetContainer" group="pages" app="cms" params="'col1', $widgets, 'horizontal'"}
        </div>
        <div class='ipsGrid_span6'>
            {template="widgetContainer" group="pages" app="cms" params="'col2', $widgets, 'horizontal'"}
        </div>
    </div>
</div>

<div>
    <div class='ipsGrid'>
        <div class='ipsGrid_span4'>
            {template="widgetContainer" group="pages" app="cms" params="'col4', $widgets, 'vertical'"}
        </div>
        <div class='ipsGrid_span4'>
            {template="widgetContainer" group="pages" app="cms" params="'col5', $widgets, 'vertical'"}
        </div>
        <div class='ipsGrid_span4'>
            {template="widgetContainer" group="pages" app="cms" params="'col6', $widgets, 'vertical'"}
        </div>
    </div>
</div>

Link to comment
Share on other sites

  • 1 year later...

I'm trying to accomplish the same thing. I'm using the CSS Framework to build a custom page using the wrapper and the widgets do not save on the page. Really disappointing because I would like to use widgets on my custom page.

Link to comment
Share on other sites

36 minutes ago, Morrigan said:

I am creating my own pagebuilder template and applying it. There is no way to build widget locations via HTML other than page builder pages.

What version are you running?

Latest version of IP4. That is probably the reason why it isn't working. I'm building a custom html page and using the grid system with the widget code. (Basically copying the 2 column layout template and placing it inside my custom html page). It's a shame that it doesn't work this way.

Link to comment
Share on other sites

3 minutes ago, Morrigan said:

I've looked into it. It's because you're trying to make custom widget locations in a non-page builder. You can make the columns work with the page bullder. Mine uses the grid.

Thanks for the info. I will make a custom page template and use that instead. I guess I'll have to wait to see if they allow custom widget locations, which I hope they do. Will make the page much more flexible as far as html editing goes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...