On Fri, May 24, 2013 at 4:43 PM, Kévin Laîné <kevinla...@yahoo.fr> wrote:
> 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+Macro
>
> 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 ?

You should use a style sheet extension. See
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMinimalStyleSheeteXtension
.

Hope this helps,
Marius

>
> Thanks
>
>
>
>
> ________________________________
>  De : Valdis Vītoliņš <valdis.vitol...@odo.lv>
> À : Kévin Laîné <kevinla...@yahoo.fr>; XWiki Users <users@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&section=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
> ...
> _______________________________________________
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to