Hi !
I'm trying to put a navigation menu to my Xwiki on myxwiki.
www.familleassociative.fr
I tried this extension but it doesn't work well :
http://extensions.xwiki.org/xwiki/bin/view/Extension/Navigation+Menu+Wiki+M…
I discover that putting a piece of code in "Header" by editing the Default skin
work well (domain.tld/xwiki/bin/edit/XWiki/DefaultSkin )
" #template('global.vm')
$xwiki.includeForm('###.###',false) "
So I wanted to edit a page and include navigation menu with CSS as this one
http://www.htmldrive.net/items/show/1220/Pure-useful-CSS3-Dropdown-Menu
But the CSS and images or not recognize, even if I put the css code in html between
<style> and </style>
How can I do ?
Thanks
________________________________
De : Valdis Vītoliņš <valdis.vitolins(a)odo.lv>
À : Kévin Laîné <kevinlai80(a)yahoo.fr>fr>; XWiki Users <users(a)xwiki.org>
Envoyé le : Jeudi 23 mai 2013 14h50
Objet : Re: [xwiki-users] [myxwiki] new wiki request
Kévin,
you can probably include following velocity script in your pages.
#if($request.getRequestURL().substring(7,32)!
="www.familleassociative.fr")
## (please count characters yourself!)
$response.sendRedirect("http://www.familleassociative.fr/${request.getRequestURL().substring(32)}")
#end
And maybe even you can put this code in Xwiki settings:
../xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Presentation
at the end of "HTTP Meta Information" field.
Valdis
Thanks Vincent !
It works fine now :
http://www.familleassociative.fr/xwiki/bin/view/Main/WebHome
but all the content is also available at
http://familleassociative.myxwiki.org
I learned that it was not a good thing to have two valid Url for a website.
Is it possible to force with Url rewriting or other to lead to new domain name ?
Thanks
Kévin
...