[xwiki-users] how to create blank page(without default template) in xwiki?
Right now when i create any page under a psace , page is created with default template where i see Edit,Export and More Actions and page name(alongwith page path like MySpace >> My Page). Instead of this default page(with default template), i want to create just empty page where i can include some macro. I am not getting how to create just blank page?
This does not really have anything to do with the page itself, it's a skin thing. The default skin is wiki oriented which mean that as long as you have the right you will have access to edit a page, etc. You can find several public website oriented skins on http://extensions.xwiki.org. A good example is http://extensions.xwiki.org/xwiki/bin/view/Extension/Leiothrix+Skin. On Mon, Jul 1, 2013 at 11:07 AM, Mohit Gupta <[email protected]> wrote:
Right now when i create any page under a psace , page is created with default template where i see Edit,Export and More Actions and page name(alongwith page path like MySpace >> My Page). Instead of this default page(with default template), i want to create just empty page where i can include some macro. I am not getting how to create just blank page? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thomas i just want blank page without any 1)Options(Like Edit,export and more actions) on page content header. I agree if user does not have edit rights he wont see that but even after denying right i can see the background color of strip on which options like Edit,Export appear. 2)Without any default content (i dont want even page name to appear when i view this newly create page) I tried using Force Skin Extension( http://extensions.xwiki.org/xwiki/bin/view/Extension/Force+Skin) with below content on my page(say MyPage1) where myskin does not exist. So when i view MyPage1, it should be displayed as blank page. But still it displays the page with default xwiki skin {{velocity}} #if("$!request.skin" != "myskin") $response.sendRedirect($doc.getURL("view", "skin=myskin")) #end {{/velocity}} On Mon, Jul 1, 2013 at 2:54 PM, Thomas Mortagne <[email protected]>wrote:
This does not really have anything to do with the page itself, it's a skin thing. The default skin is wiki oriented which mean that as long as you have the right you will have access to edit a page, etc.
You can find several public website oriented skins on http://extensions.xwiki.org. A good example is http://extensions.xwiki.org/xwiki/bin/view/Extension/Leiothrix+Skin.
On Mon, Jul 1, 2013 at 11:07 AM, Mohit Gupta <[email protected]> wrote:
Right now when i create any page under a psace , page is created with default template where i see Edit,Export and More Actions and page name(alongwith page path like MySpace >> My Page). Instead of this default page(with default template), i want to create just empty page where i can include some macro. I am not getting how to create just blank page? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Mon, Jul 1, 2013 at 12:29 PM, Mohit Gupta <[email protected]> wrote:
Thomas i just want blank page without any
1)Options(Like Edit,export and more actions) on page content header. I agree if user does not have edit rights he wont see that but even after denying right i can see the background color of strip on which options like Edit,Export appear.
2)Without any default content (i dont want even page name to appear when i view this newly create page)
I tried using Force Skin Extension( http://extensions.xwiki.org/xwiki/bin/view/Extension/Force+Skin) with below content on my page(say MyPage1) where myskin does not exist. So when i view MyPage1, it should be displayed as blank page. But still it displays the page with default xwiki skin
Since "myskin" does not exist it fallback on default skin.
{{velocity}} #if("$!request.skin" != "myskin") $response.sendRedirect($doc.getURL("view", "skin=myskin")) #end {{/velocity}}
On Mon, Jul 1, 2013 at 2:54 PM, Thomas Mortagne <[email protected]>wrote:
This does not really have anything to do with the page itself, it's a skin thing. The default skin is wiki oriented which mean that as long as you have the right you will have access to edit a page, etc.
You can find several public website oriented skins on http://extensions.xwiki.org. A good example is http://extensions.xwiki.org/xwiki/bin/view/Extension/Leiothrix+Skin.
On Mon, Jul 1, 2013 at 11:07 AM, Mohit Gupta <[email protected]> wrote:
Right now when i create any page under a psace , page is created with default template where i see Edit,Export and More Actions and page name(alongwith page path like MySpace >> My Page). Instead of this default page(with default template), i want to create just empty page where i can include some macro. I am not getting how to create just blank page? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
Mohit Gupta -
Thomas Mortagne