Thanks,

In fact I forgot about the section / column macros, I used them some years
ago, before replacing them with container macro (as it's bundled in xwiki
while section/column macros are retired).
I see why it didn't have this problem, it's because it was using inline
styles - so no pb with css injection...
I may use this as a temporary workaround though, so thanks again,

BR,
Jeremie



2014-03-07 11:39 GMT+01:00 Hamster <[email protected]>:

> Jerem,
>
> Nice to see someone else with the same problem we had :-)
>
> I run into this problem when I added a custom macro which displayed a TOC
> on
> a page in multiple columns. The user can choose how many columns the TOC
> should have (for example 3), and the TOC would show all child-pages in 3
> columns.
>
> But when I added my macro to our dashboard, I noticed that the number of
> columns was being ignored.
> Reason: the dashboard is using the {{container}} macro to display the
> columns in the dashboard. It turns out that an XWiki page is listening to
> only 1 {{container}} macro (and thus ignored my custom macro).
>
>
>
> I do have a solution for you...use a different macro!
>
> We are now using the  Column Macro
> <http://extensions.xwiki.org/xwiki/bin/view/Extension/Column+Macro>  .
>
> {{section}}
> {{column}}
> a
> {{/column}}
>
> {{column}}
> b
> {{/column}}
>
> {{column}}
> c
> {{/column}}
> {{/section}}
>
> Hope this helps!
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Container-macro-with-more-than-2-columns-tp7589422p7589467.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to