Re: tiles/blocks
Guido Stevens <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Organization | Cosent -:- s h a r i n g m a k e s s e n s e |
| Message-ID | <[email protected]> |
On 04/24/2014 12:08 PM, Martin Aspeli wrote:
> Note: In a slightly more radical world, we probably don't need the
> main_template indirection at this stage, because most of the things we
> do with main_template today would be done by the layout. However, as a
> transitional step it makes sense, because otherwise we'd need to update
> all the view templates or all content types for this to work.
Ramon and I explored an idea where we can intercept the ususual
metal:fill-slot calls by tweaking the new main template browser view in
Plone5. It appears to be feasible to move to a tiles/block based grid
layout in which #content-core (or #main) is just another block that can
be placed in a grid layout, and to do so without necessarily updating
all existing metal calls, by re-routing such assignments to a block.
I'm really keen to move away from the ancient 3-col hardcoded Plone
layout and enable a responsive grid for everything, including #main. Yet
keep backward compatibility with add-ons that assume that the world
still looks like it used to.
> In this model, we have a layered model of layout editability.
Yes. Methinks the grid model should be sufficiently simple that it
should even be feasible to plug in a grid system of choice. In the end a
grid is mostly just a convention to use a set of css classes.
We're exploring these issues in multiple discussions at PLOG. The
challenge is to come up with a solution that provides (sufficient)
backward compatibility, especially with the portlets machinery, without
increasing the level of complexitiy even further.
:*CU#
--
Guido Stevens | +31.43.3618933 | http://cosent.nl
s o c i a l k n o w l e d g e t e c h n o l o g y
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform