Hello Stéphanie,

The idea is to override the xwiki skin to add some CSS rules (more details here
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins).
These CSS rules will hide the undesired buttons.

This is the step by step process:
- visit the XWiki.DefaultSkin page
- clic on the "Edit this skin" link
- insert the following 6 lines in the Style input field (it's the CSS trick)

@import "colibri.css";

div.bottombuttons input.button[name="action_preview"],
div.bottombuttons input.button[name="action_saveandcontinue"] {
  display: none;
}

- save the page
- then test it (it works fine on my 3.2 XWiki)

Maxime


Le 27 octobre 2011 14:14, Stéphanie <stephanie.roull...@gmail.com> a écrit :
> Hello,
>
> Thank you for response.
>
> How is it possible to access these buttons?
> By variables?
> If so, what are these variables?
>
> Best regards,
> Stéphanie
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Buttons-when-creating-a-new-page-tp6931861p6936105.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to