How do i set the main page?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How do i set the main page?

AlonsoIR
hi, im totally newbee, i almost have finished a page and a i need to know how to set as main page. If i click on logo i need that page loaded, if i enter the url www.mywiki.com, that page must be loaded.


how do i do that?

regards

Reply | Threaded
Open this post in threaded view
|

Re: How do i set the main page?

AlonsoIR
please, nobody could help me?



AlonsoIR wrote
hi, im totally newbee, i almost have finished a page and a i need to know how to set as main page. If i click on logo i need that page loaded, if i enter the url www.mywiki.com, that page must be loaded.


how do i do that?

regards
Reply | Threaded
Open this post in threaded view
|

Re: How do i set the main page?

Tronicek
This post has NOT been accepted by the mailing list yet.
hi,

look at web.xml in WEB-INF directory. At "redirectHomeServlet" you can "redirect to a diffrent home page".

Keep in mind that all home pages of a wiki farm are changed...

Better create an own WebHome page within a new space - in each wiki in a farm.
Updates of XWiki may be easier that way (:.

AlonsoIR wrote
please, nobody could help me?



AlonsoIR wrote
hi, im totally newbee, i almost have finished a page and a i need to know how to set as main page. If i click on logo i need that page loaded, if i enter the url www.mywiki.com, that page must be loaded.


how do i do that?

regards
Reply | Threaded
Open this post in threaded view
|

Re: How do i set the main page?

Sergiu Dumitriu-2
In reply to this post by AlonsoIR
On 12/10/2009 01:53 PM, AlonsoIR wrote:

>
> please, nobody could help me?
>
>
>
>
> AlonsoIR wrote:
>>
>> hi, im totally newbee, i almost have finished a page and a i need to know
>> how to set as main page. If i click on logo i need that page loaded, if i
>> enter the url www.mywiki.com, that page must be loaded.
>>
>>
>> how do i do that?

Three options:

- write the content in that current main page instead
- include the target page in the main page using
{{include document="Yout.Document" context="new"/}}
- use a redirect from the main page to your page, by putting this in it:

{{velocity}} $response.sendRedirect($xwiki.getURL('Your.Document'))
{{/velocity}}

--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users