On Thu, Jan 5, 2012 at 6:37 PM, mohit gupta <[email protected]> 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 <[email protected]>
> Date: Thu, Jan 5, 2012 at 4:01 PM
> Subject: Configuring the webhome page of main space?
> To: XWiki Users <[email protected]>
>
>
> 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")

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

Hope this helps,
Marius

> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to