On Feb 5, 2010, at 2:03 PM, Baratóvsk wrote:

> From this document, it seems you can overwrite any template by modifying the
> skin object:
> http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiNewSkin
> 
> So you could modify it from there.
> 
> I tried adding this two lines to the xwikivars.vm but it doesn't seem to
> have any effect.
> Does anyone know if this is supported by the Colibri skin?

It's supported with XWiki Syntax 1.0 but not for XWiki Syntax 2.0.

For XWiki Syntax 2.0, we have an open issue to support auto numbering sections:
http://jira.xwiki.org/jira/browse/XWIKI-3321

Thanks
-Vincent

> Thanks,
> Fernando.
> 
> On Tue, Jan 12, 2010 at 8:49 AM, PERINAUD Christophe <
> [email protected]> wrote:
> 
>> Hello all,
>> 
>> I saw in the xwiki.org documentation that to have auto numbered sections,
>> i have to modify xwikivars.vm.
>> 
>> Is there a way to do the same but from the browser by editing the skin for
>> example ?
>> Else do i have to add this code in each document ?
>> #set ($context.tocNumbered = true)
>> #set ($context.tocData = $tdoc.getTOC(2, 6, true))
>> 
>> Regards,
>> 
>> Christophe Périnaud
>> Windows Server 2003 SP2 in a VMWare instance
>> Oracle 10g
>> Java 1.6.0_12
>> Xwiki 2.0.3 from the pack Jetty/HSQL
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to