[xwiki-users] [myxwiki] Navigation Menu

2013-05-24 Thread Kévin Laîné
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 ?

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=globaladminsection=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


Re: [xwiki-users] [myxwiki] Navigation Menu

2013-05-24 Thread Marius Dumitru Florea
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=globaladminsection=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


Re: [xwiki-users] [myxwiki] Navigation Menu

2013-05-24 Thread Kévin Laîné
thanks but I'm on Xwiki farm and can't edit in object mode and don't have 
programming rights. Am I right ?

This extension don't work anymore with Xwiki 5.0.1 on myxwiki : 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Navigation+Menu+Wiki+Macro
I installed it a time and can see a navigation menu but not correctly working, 
then I reinstall it and now it doesn't work at all.

I tried all I could test, but can't find any solution.




 De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com
À : Kévin Laîné kevinla...@yahoo.fr; XWiki Users users@xwiki.org 
Envoyé le : Vendredi 24 mai 2013 22h09
Objet : Re: [xwiki-users] [myxwiki] Navigation Menu
 

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=globaladminsection=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


Re: [xwiki-users] [myxwiki] Navigation Menu

2013-05-24 Thread Kévin Laîné
I Just discover how to switch to advanced mode : 
http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing

maybe it will help me





 De : Kévin Laîné kevinla...@yahoo.fr
À : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com; users@xwiki.org 
users@xwiki.org 
Envoyé le : Vendredi 24 mai 2013 23h01
Objet : Re: [xwiki-users] [myxwiki] Navigation Menu
 


thanks but I'm on Xwiki farm and can't edit in object mode and don't have 
programming rights. Am I right ?

This extension don't work anymore with Xwiki 5.0.1 on myxwiki : 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Navigation+Menu+Wiki+Macro
I installed it a time and can see a navigation menu but not correctly working, 
then I reinstall it and now it doesn't work at all.

I tried all I could test, but can't find any solution.




 De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com
À : Kévin Laîné kevinla...@yahoo.fr; XWiki Users users@xwiki.org 
Envoyé le : Vendredi 24 mai 2013 22h09
Objet : Re: [xwiki-users] [myxwiki] Navigation Menu
 

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=globaladminsection=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