Newbie question [5.4.4]: Skinning the top menu bar on subwikis

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Newbie question [5.4.4]: Skinning the top menu bar on subwikis

mctoz
For some reason, the appearance of the top menu bar is different for a
subwiki than the main wiki. What is controlling this? I'd like the
appearance of the way it is in the main wiki to be reflected in the
subwikis too.

MT
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Newbie question [5.4.4]: Skinning the top menu bar on subwikis

Guillaume "Louis-Marie" Delhumeau
Hi.

It is actually different to allow users to navigate through other wikis
from one of the subwikis. If you want to have the same menu bar than in the
main wiki, you have to change the user scope of the subwiki. The "Home"
menu is displayed only if the scope of the subwiki is "only global users
have access to this wiki".

The other way is to manually change the menuview.vm template:
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/menuview.vm#L130

I hope it helps,

Guillaume


2014-05-06 6:31 GMT+02:00 <[hidden email]>:

> For some reason, the appearance of the top menu bar is different for a
> subwiki than the main wiki. What is controlling this? I'd like the
> appearance of the way it is in the main wiki to be reflected in the
> subwikis too.
>
> MT
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[hidden email]
http://lists.xwiki.org/mailman/listinfo/users