Important announcements from CouchCMS team
29 posts Page 3 of 3
WOOOW...!!!
You just create Another great feature KK...!!!
As soon as possible!

Touch me up : abada[dot]zulma[at]gmail[dot]com
I feel really dumb posting this but it seems as though it is not possible to drag the rows like the mosaic/repeatable regions. It would offcourse be quite desirable to be able to add a new component somewhere in between other, allready existing components.
@Saskia, the set of buttons that appears upon hovering over any block has the "Up / Down" component (right-most buttons).
You may use them to move existing blocks at any desired location.

Hope this helps.
KK wrote: @Saskia, the set of buttons that appears upon hovering over any block has the "Up / Down" component (right-most buttons).
You may use them to move existing blocks at any desired location.

Hope this helps.

I wonder if the 'draggable gallery' solution could be applied there as well :)

Visit Midware » CHANGELOG on GitHub for the latest published documentation pages.
Check out my other pinned repositories: Tweakus-Dilectus » Addons and Cms-Fu » Functions.
Join CMS:COUCH telegram channel

Ready to work!
@trendoman
I wonder if the 'draggable gallery' solution could be applied there as well

I suppose yes it is applicable here too; however, the usual height of blocks is much more than what we encounter in repeatable-regions/mosaic and I found dragging to be pretty difficult to control.
KK wrote: I found dragging to be pretty difficult to control.

Consider a narrow vertical sidebar with small thumbnails - there it could be accessible for quick navigation and reorder)

Visit Midware » CHANGELOG on GitHub for the latest published documentation pages.
Check out my other pinned repositories: Tweakus-Dilectus » Addons and Cms-Fu » Functions.
Join CMS:COUCH telegram channel

Ready to work!
@KK Oh thank you so much! Turns out I was a little dumb indeed, we have our own template styling and we have accidentally hidden those buttons. Thanks to your comment I started looking for them in the inspector.

Problem solved :)
Code: Select all
<cms:mosaic name='blocks' label='Blocks' body_class='_pb'>
    <cms:tile name='ab01' label='Text' _pb_template='_fields/theme/AB01' _pb_height='32'>
        <cms:embed 'pb/_fields/embed/AB01.html' />
    </cms:tile>
    ...

@KK, I discovered that the theme of the tile _pb_template='_fields/theme/AB01' overrides the code that was introduced with Mosaic -

Code: Select all
<cms:tile name='ab01' label='Text' _pb_height='32'>
    <cms:embed 'pb/_fields/embed/AB01.html' />
    <cms:config_list_view>
        <cms:field 'k_content'>
            <!-- embed snippet with iframe instead and reuse wrapper with cms:block / cms:extends -->
        </cms:field>
    </cms:config_list_view>
</cms:tile>
    ...

The result could be the same with cms:config_list_view. Why is that?

The code is scattered among kfunctions, theme, misc etc. as if someone dropped a Little Boy over HTML styling.

I want to try PB to fit my goal but it does not allow to "create" new tiles! PB allows only to reuse the pre-created tiles, looking like a supersized Mosaic of mosaics, but without true Mosaic features - create tiles on the fly.

Will Couch website be refreshed with PB's assistance? It looks very, very outdated. ;)

Visit Midware » CHANGELOG on GitHub for the latest published documentation pages.
Check out my other pinned repositories: Tweakus-Dilectus » Addons and Cms-Fu » Functions.
Join CMS:COUCH telegram channel

Ready to work!
@trendoman,
The result could be the same with cms:config_list_view. Why is that?

Pagebuilder overrides the default Mosaic code to introduce an Iframe (thus mimicking the frontend); in your code when you use <cms:config_list_view> with Mosaic, you are doing the same thing (i.e. overriding the default display logic of Mosaic).

The result could be similar but not necessarily because the code for PB does a lot more than just use an IFrame e.g. , to name one, enforce calling custom context-setter functions in the right order- these can and do alter the output. Therefore, PB will insist upon using its own code and yours will be overridden.

I want to try PB to fit my goal but it does not allow to "create" new tiles!

Not sure what you mean by that - if you mean 'define' new tiles, then of course, that is the way PB works - it leaves that to the Mosaic(s) that serve as its source.

However, if you mean creating new instances of defined tiles, that is exactly what one does every time a new block is added by the user.
The only difference between PB and Mosaic in this regard is that in Mosaic the instance is created anew while in PB it is created by creating a copy of a pre-existing tile.

That said, please share with us the goals you are trying to achieve with PB and perhaps we can figure out something together.
29 posts Page 3 of 3
cron