On Fri, Jan 6, 2012 at 4:50 PM, Marius Dumitru Florea <
mariusdumitru.florea(a)xwiki.com> wrote:
On Thu, Jan 5, 2012 at 6:37 PM, mohit gupta
<motgupta(a)gmail.com> wrote:
Hi Folks,
I would really appreciate even if somebody can provides the pointers
about
below queries.
Thanks and Regards
Mohit Gupta
---------- Forwarded message ----------
From: mohit gupta <motgupta(a)gmail.com>
Date: Thu, Jan 5, 2012 at 4:01 PM
Subject: Configuring the webhome page of main space?
To: XWiki Users <users(a)xwiki.org>
Hi All,
I want to configure the default home page i.e webhome page of main
space. I
am looking for these kind of customizations:-
1) Replacing *Welcome to your wiki *with Welome to *ApplicationName
Wiki.*Though i can see the ways to customize the panel bars,browser
title bar text but not the text.
You should have a "Dashboard" link in the Quick Links panel. Follow it
and edit the dashboard. "Welcome to your wiki" is the title of a
dashboard gadget. Hover this gadget and you'll see an icon to
configure the gadget. If you edit the gadget you'll see that its title
is
$msg.get("platform.dashboard.wiki.welcome")
Extremely thankful to you for repying to queries. Below is the observation
after following the instructions
After follow "Dashboard" link and edit the dashboard, i see only
{{dashboard/}} inside the content section and $msg.get("xe.dashboard.wiki")
in Title section not the "platform.dashboard.wiki.welcome" .
In order to change it you can either replace the current value with
the actual title (e.g. "Welcome to my cool wiki") or, if you want to
be able to translate the title, change the value of the
"platform.dashboard.wiki.welcome" translation key (by registering a
translation document bundle in the wiki administration or by
overwriting the ApplicationResources.properties from the oldcore jar).
If you want to change the welcome text you have to edit Main.Welcome
page as this gadget is actually an include macro.
2) Right now, on web home page under main space i can see see all the
details(like what activity admin or any other users did . For example
modification in existing page or creation of new page) on page just after
login (i.e webhome page on main space). i want to hide these unnecessary
details from specific group users? Is it possible to customize. i am not
even able to find the vm file for this page so that i can do some
tweaking
in code?
You can replace the activity stream gadget (from the dashboard) with a
gadget based on the include macro (exactly like the welcome message).
In the included document you can put:
----------8<----------
{{velocity}}
#if($userIsInMySpecialGroup)
{{activity/}}
#else
blah blah
#end
{{/velocity}}
---------->8----------
As i said above , After follow "Dashboard" link and edit the dashboard, i
see only {{dashboard/}} inside the content section. I do not see any
activity stream content here and how to omit that.
I am sorry for causing inconvenience to you but this is what i see.
Hope this helps,
Marius
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs