These messages are created via translation keys,
and you can change then by adding a "translation" page to your wiki.

a) to find out the keys, e.g. search for them im l10n.xwiki, org. e.g. :

http://l10n.xwiki.org/xwiki/bin/view/L10N/Search?application=&name=&key=&origtext=Created+by&lang=da&transtext=&status=notdead

there you can see the key is 'core.footer.creation' and the translation for en 
is "Created by {0} on {1}"

b) to create a "translation page", create a new empty page in your wiki,
 then go to the object editor and add an an object of type 
"XWiki.TranslationDocumentClass"
 and set scope to "Wiki" or "Global"
 Save the page and then edit the page again in the Wiki editor (or the "source" 
tab of the WYSIWYG editor)
 and add one line for each text you want to adapt, e.g.

   core.footer.creation=Created by MyOrganizationName on {1}

Using the same trick for single pages is possible in principle, but then you 
would have make the translation to be marked as "On Demand"
and add some velocity code on the home page to tell that the home page demands 
this translation.

How these translation pages work is documented here
http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications

if it is enough to hide the text via CSS, just add a 
"XWiki.StyleSheetExtension" object on that page
and set the usage to "on this page only"

this is documented as part of the "skin extension" mechanism:
 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMinimalStyleSheeteXtension


> 1] I need to change "Created by xxx on 2009/09/09 00:00" displayed at every
> page bottom (where xxx is any creator of page). By default, on every new
> page, creator should display name "MyOrganizationName" irrespective of the
> creator.
> 
> 2] Need to remove user details from "Last modified by SuperUser on
> 2016/05/12 13:06". It should display only "Last modified on 2016/05/12
> 13:06".
> 
> 3] Need to remove whole "Last modified by SuperUser on 2016/05/12 13:06"
> line from a specific page (Home page in my case).
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/change-default-page-data-like-page-created-by-xxx-user-and-page-last-modified-at-xxx-time-tp7599463.html
> Sent from the XWiki- Dev mailing list archive at Nabble.com.
> _______________________________________________
> 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