>From this document, it seems you can overwrite any template by modifying the
skin object:

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?


On Tue, Jan 12, 2010 at 8:49 AM, PERINAUD Christophe <
christophe.perin...@kbl-bank.com> 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
> --------------------------------------------------------------------------------
> This e-mail is intended only for the addressee named above. It does not
> bind the sender, except in the case of an existing written convention with
> the addressee. This e-mail may contain material that is confidential and
> privileged for the sole use of the intended recipient. Any review, reliance
> or distribution by others or forwarding without express permission is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, please contact the sender and delete all copies.
> While reasonable precautions have been taken to ensure that this e-mail and
> any attachments are free from any computer virus or similar defect, no
> liability will be accepted in that respect. Anyone accessing this e-mail
> must take their own precautions as to security and virus protection.
> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg,
> R.C.S. Luxembourg B 6395, T (352) 47 97 1
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
users mailing list

Reply via email to