Re: [xwiki-users] Text put automatically on page foot
Hello Ramon, You could add your pre-configured text in a velocity template in the skin (see templates like docextra.vm, footer.vm depending on what section of the page you would like to change). This might help: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins Oana On 8/18/10 9:18 PM, Ramon Gomes Brandão - SERINT wrote: > Hi, > > > > I would like that, when a user creates a new Page on a specific space, a > pre-configured foot text is automatically put into the page content by > default, in a way that the user cannot edit this foot text. How can I do that? > > > > I'm using XE 2.4. > > Regards, > > > > Ramon Gomes Brandão > > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Oana Tabaranu ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Text put automatically on page foot
Hi, 2010/8/18 Ramon Gomes Brandão - SERINT : > Hi, > > > > I would like that, when a user creates a new Page on a specific space, a > pre-configured foot text is automatically put into the page content by > default, in a way that the user cannot edit this foot text. How can I do that? For that you could listen to new document creation event (org.xwiki.observation.event.DocumentSaveEvent) and when you receive one you modify the document to put your foot text on it and save it again. See http://code.xwiki.org/xwiki/bin/view/Modules/LocalObservationModule for more details about events observation module. > > > > I'm using XE 2.4. > > Regards, > > > > Ramon Gomes Brandão > > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Text put automatically on page foot
Hi, I would like that, when a user creates a new Page on a specific space, a pre-configured foot text is automatically put into the page content by default, in a way that the user cannot edit this foot text. How can I do that? I'm using XE 2.4. Regards, Ramon Gomes Brandão ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users