Foros de discusión

Wiki problem

Chris Veal, modificado hace 15 años.

Wiki problem

New Member Mensajes: 2 Fecha de incorporación: 23/02/09 Mensajes recientes
I am having a problem with the URL links to wiki pages. If I go to the all pages link and choose a page, the generated link seems to fail and send the user back to the community home page.

this is the generated link that fails
http://my.company.net/wiki/-/wiki/Main/[b]Wiki+Test+Page[/b]?p_r_p_185834411_title=Wiki+Test+Page


if I modify the link to
http://my.company.net/wiki/-/wiki/Main/[b]Wiki Test Page[/b]?p_r_p_185834411_title=Wiki+Test+Page


it works. It does not like having the plus signs in the URL for pages that have a space in the title.

I also noticed by inspecting the Wiki page links here on Liferays site that the ?p_r_p_185834411_title=Wiki+Test+Page part of the URL doesn't seem to matter. Meaning that http://my.company.net/wiki/-/wiki/Main/Wiki Test Page works also. And that is the way Liferays wiki links are generated, except with the plus signs.


I am running 5.2 on 2003 server with MS SQL 2005 back end.



Any assistance would be much appreciated.
Chris Veal, modificado hace 15 años.

RE: Wiki problem

New Member Mensajes: 2 Fecha de incorporación: 23/02/09 Mensajes recientes
At first I thought this was a UTF-8 issue, but I have ruled that out. It appears to an issue with the virtual host feature of the community. If I remove the virtual host setting for the community the auto generated URL works fine, even with the plus signs.

here are the example URLs to my test page that work


http://my.company.net/wiki/-/wiki/Main/Wiki Test Page?p_r_p_185834411_title=Wiki+Test+Page
http://my.company.net/wiki/-/wiki/Main/Wiki Test Page
http://my.company.net/wiki/-/wiki/Main?p_r_p_185834411_title=Wiki+Test+Page

and this one without virtual hosting on

http://my.company.net/web/examplecommunity/wiki/-/wiki/Main/Wiki Test Page?p_r_p_185834411_title=Wiki+Test+Page
Diego Deidda, modificado hace 13 años.

RE: Wiki problem

New Member Mensaje: 1 Fecha de incorporación: 27/05/10 Mensajes recientes
Hi!
I'm trying to customize the Liferay Wiki but I have a little problem with the categories navigation. If I want to get the wiki page from the children pages links, it works fine. But if I navigate into the categories tree and I click on the showing results links, the browser doesn't open the pages.
It's very strange because the url is the same!
Can somebody help me??

Thanks