From kevinlai80@yahoo.fr Fri May 24 13:44:00 2013 From: =?utf-8?b?S8OpdmluIExhw65uw6k=?= To: xwiki-users@xwiki.org Subject: [xwiki-users] [myxwiki] Navigation Menu Date: Fri, 24 May 2013 14:43:55 +0100 Message-ID: <1369403035.15998.YahooMailNeo@web28806.mail.ir2.yahoo.com> In-Reply-To: <1369306241.2192.13.camel@vostro> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2459167163281212226==" --===============2459167163281212226== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi ! I'm trying to put a navigation menu to my Xwiki on myxwiki. www.familleassoci= ative.fr I tried this extension but it doesn't work well : http://extensions.xwiki.org= /xwiki/bin/view/Extension/Navigation+Menu+Wiki+Macro I discover that putting a piece of code in "Header" by editing the Default sk= in work well=C2=A0 (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 h= ttp://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 b= etween How can I do ? Thanks ________________________________ De=C2=A0: Valdis V=C4=ABtoli=C5=86=C5=A1 =C3=80=C2=A0: K=C3=A9vin La=C3=AEn=C3=A9 ; XWiki Users= =20 Envoy=C3=A9 le : Jeudi 23 mai 2013 14h50 Objet=C2=A0: Re: [xwiki-users] [myxwiki] new wiki request =20 K=C3=A9vin, you can probably include following velocity script in your pages. #if($request.getRequestURL().substring(7,32)! =3D"www.familleassociative.fr") ## (please count characters yourself!) $response.sendRedirect("http://www.familleassociative.fr/${request.getRequest= URL().substring(32)}") #end And maybe even you can put this code in Xwiki settings: ../xwiki/bin/admin/XWiki/XWikiPreferences?editor=3Dglobaladmin§ion=3DPres= entation at the end of "HTTP Meta Information" field. Valdis > Thanks Vincent ! >=20 > It works fine now : http://www.familleassociative.fr/xwiki/bin/view/Main/We= bHome >=20 > but all the content is also available at http://familleassociative.myxwiki.= org >=20 > 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 n= ame ? >=20 > Thanks >=20 > K=C3=A9vin ... --===============2459167163281212226==--