Re: [xwiki-users] Container macro with more than 2 columns

2014-03-07 Thread Jeremie BOUSQUET
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

Re: [xwiki-users] Container macro with more than 2 columns

2014-03-07 Thread Hamster
This is the Velocity we use in our "JAZO TOC": {{velocity}} #macro(createTOCTree $document $column_nr) #set($translated = $document.getTranslatedDocument()) #set($name = $translated.getName()) #set($fullname = $translated.getFullName()) #set($prefixed = $translated.getPrefixedFullName())

Re: [xwiki-users] Container macro with more than 2 columns

2014-03-07 Thread Hamster
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.

Re: [xwiki-users] Container macro with more than 2 columns

2014-03-06 Thread Jeremie BOUSQUET
Hello, I don't know if it is the place to discuss issues, or if I should put the following as comment of the issue in jira, but ... I can put it afterwards in jira. I thought about it, and imagined that only way around, would be to assign a different "id" to the column elements added by each diff

Re: [xwiki-users] Container macro with more than 2 columns

2014-03-05 Thread Jeremie BOUSQUET
Thanks Vincent, I created a JIRA for it: http://jira.xwiki.org/browse/XWIKI-10118 I nailed the problem maybe, but I didn't nail the solution :) Doesn't seem so easy ... BR, jeremie 2014-03-05 17:03 GMT+01:00 vinc...@massol.net : > Hi Jeremie, > > I think it's Anca who coded this container mac

Re: [xwiki-users] Container macro with more than 2 columns

2014-03-05 Thread vinc...@massol.net
Hi Jeremie, I think it’s Anca who coded this container macro so I don’t know the details but it looks like a bug indeed. I’d file a jira issue if I were you since it seems like you nailed the problem :) Thanks -Vincent On 5 Mar 2014 at 16:55:30, Jeremie BOUSQUET (jeremie.bousq...@gmail.com(m

[xwiki-users] Container macro with more than 2 columns

2014-03-05 Thread Jeremie BOUSQUET
Hello, I have a weird issue with {{container}} macro in xwiki 4.5.2. If I want to display 3 columns, like this for example: {{container layoutStyle="columns"}} ((( a ))) ((( b ))) ((( c ))) {{/container}} It shows content over only 2 columns like this: a b c ... instead of expected: a b c