Hi, On Mon, Sep 20, 2010 at 17:40, Anca Luca <[email protected]> wrote:
Hi devs,
actually after a discussion I had with Vincent about naming, we thought of the following approach, for a more general purpose:
1/ section turns into ** container ** and it gets a parameter called **layoutStyle** to specify the type of layout for its contents. One of the possible values of this param would be "columns" and it would be the only one implemented for the moment.
2/ the content of this container macro would be a **list of groups**, wiki syntax groups, like ((( ... ))). There's no point of having a macro that does nothing else but specify that some items should be grouped together.
With these, the syntax of columned content would now be:
{{container layoutStyle="columns"}} ((( some wiki content ))) ((( some other wiki content))) {{/container}}
The dashboard macro would then just delegate to a container macro with columns layout style.
I like this approach, +1.
WDYT?
+1 as well. Guillaume
Once I get your votes, I will commit this in the platform.
Thanks, Anca
On 09/17/2010 03:56 PM, Anca Luca wrote:
Hi devs,
wdyt about committing the section& macro columns from the contrib ( https://svn.xwiki.org/svnroot/xwiki/contrib/projects/xwiki-macro-column/) in the platform macros, along with a first, very simple implementation of the dashboard macro (which for the moment only delegates to the section macro)?
This would be the first step towards the implementation of the dashboard, and the plan is to be done before 2.5M2.
Here's my +1.
WDYT? Anca _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs