From version < 15.2 >
edited by Evandro Fonseca
on 2014/02/14
To version < 16.1 >
edited by Eduard Moraru
on 2016/01/05
< >
Change comment: Updated the information.

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.tecnicoactu
1 +XWiki.enygma
FAQCode.FAQClass[0]
answer
... ... @@ -1,4 +1,10 @@
1 -The short answer is that you can't. However what you can do is modify the content of the home page (i.e. ##Main.WebHome##) so that it displays what you want. You have several options:
1 +Before XWiki 6.4RC1, this was not possible and modifying the content of the home page (i.e. ##Main.WebHome##) was the only solution to work around this limitation.
2 +
3 +== Since 6.4RC1 ==
4 +Go to the wiki's [[##Administration > Wikis > Descriptor##>>extensions:Extension.Wiki Application||anchor="HConfigureWiki"]] section and set the ##Homepage## field.
5 +
6 +== Workarounds for older versions ==
7 +You have several options:
2 2  * Option 1: Simply edit ##Main.WebHome## using the wiki editor or the WYSIWYG editor and replace the content by your content
3 3  * Option 2: Include the page you wish to display from the home page, e.g. have the following in ##Main.WebHome##:(((
4 4  {{code}}
XWiki.XWikiComments[0]
Date
... ... @@ -1,1 +1,1 @@
1 -2014-02-14 18:22:15.200
1 +2014-02-14 18:22:15.0

The short answer is that you can't. However what you can do is modify the content of the home page (i.e. Main.WebHome) so that it displays what you want. You have several options:

Before XWiki 6.4RC1, this was not possible and modifying the content of the home page (i.e. Main.WebHome) was the only solution to work around this limitation.

Since 6.4RC1

Go to the wiki's Administration > Wikis > Descriptor section and set the Homepage field.

Workarounds for older versions

You have several options:

  • Option 1: Simply edit Main.WebHome using the wiki editor or the WYSIWYG editor and replace the content by your content
  • Option 2: Include the page you wish to display from the home page, e.g. have the following in Main.WebHome:
    {{include reference="MySpace.MyPage"/}}
  • Option 3: Redirect the home page to your page, using a script, e.g. have the following in Main.WebHome:
    {{velocity}}
    $response.sendRedirect($xwiki.getURL('MySpace.MYPage'))
    {{/velocity}}
  • Option 4: Modify the web.xml file to control what http:/// should redirect to. Specifically, edit WEB-INF/web.xml, locate the section with the servlet responsible for the redirect (the one with the line com.xpn.xwiki.web.HomePageRedirectServlet, and change that section to contain something like:

     redirectHomeServlet
     com.xpn.xwiki.web.HomePageRedirectServlet
     
       homePage
       bin/MySpace/MyPage
     
  • Option 5: Keep the dashboard but change the displayed widgets. To do so go to Dashboard.WebHome and edit in inline mode. You can also edit the home page and click the included page in the panel on the right to navigate to Dashboard.WebHome

Get Connected