Re: [xwiki-users] Buttons when creating a new page
Thank you so so much. This works exactly as I want. Again, thank you. Best regards, Stéphanie -- View this message in context: http://xwiki.475771.n2.nabble.com/Buttons-when-creating-a-new-page-tp6931861p6936295.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
Re: [xwiki-users] Buttons when creating a new page
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 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
Re: [xwiki-users] Buttons when creating a new page
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
Re: [xwiki-users] Buttons when creating a new page
Hi Stéphanie The two solutions that come to mind are: 1. Hide the buttons you don't want to see using CSS. 2. Remove them in the template. Possibly there are some other solutions (e.g. write your own template if you don't want the same behavior for all pages), but I think the CSS would be the "quickest" ... aside from any possible configuration I don't know of ... Hope this helps Edo 2011/10/26 Stéphanie : > Hello, > > When I create a new page, there are four buttons on the bottom of my page : > > - PREVIEW > - SAVE & CONTINUE > - SAVE & VIEW > - CANCEL > > Is there a possibility to don't see some of these buttons ? > > For example, I just want to see buttons "SAVE & VIEW" and "CANCEL". > > Thank you for your response. > > Best regards, > Stéphanie > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Buttons-when-creating-a-new-page-tp6931861p6931861.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
[xwiki-users] Buttons when creating a new page
Hello, When I create a new page, there are four buttons on the bottom of my page : - PREVIEW - SAVE & CONTINUE - SAVE & VIEW - CANCEL Is there a possibility to don't see some of these buttons ? For example, I just want to see buttons "SAVE & VIEW" and "CANCEL". Thank you for your response. Best regards, Stéphanie -- View this message in context: http://xwiki.475771.n2.nabble.com/Buttons-when-creating-a-new-page-tp6931861p6931861.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