Hi, Since some xwiki information (like server name) relies on requests sent by clients I'm afraid there's no simple solution for this issue. What you can do is modifying the mentionned mailTemplate (XWiki.WatchListMessage) by going to http://putyourservernamehere/xwiki/bin/edit/XWiki/WatchListMessage?editor=ob... and replace all the doc.getExternalURL("view") by something like http://putyourservernamehere/${doc.getURL("view")} JV. On Tue, Apr 22, 2008 at 4:08 PM, Stefan Völkel <[email protected]> wrote:
Hi List,
I tracked down the creation of the mail to WatchListJob.java sendNotificationMessage().
I think the data I am looking for is in here
vcontext.put("documents", updatedDocuments);
Which is passed to there:
// Send message from template emailService.sendMailFromTemplate(mailTemplate, sender, emailAddr, null, null, language, vcontext, context);
Do need to change the data before passing it to emailService, or can change a template to do this (if yes which)?
Regards
Stefan -- Stefan Völkel - Program Manager - Scalix - a Xandros Company Platz der Einheit 1 - 60327 Frankfurt am Main - Germany Office +49 69 97503 156 - Fax +49 69 97503 200 - Mobile +49 173 7 36 65 84
-----Original Message----- From: Stefan Völkel Sent: Donnerstag, 17. April 2008 14:53 To: '[email protected]' Subject: WatchList and alternative URL
Hi List,
I need to alter the URL the contained in the WatchList eMails.
Our machine is behind am apache mod_proxy setup, this reachable like this:
The URLs un the eMails will contain something like this:
which is not reachable from the outside.
I tried to locate the spot where these URLs are generated, but was unable to find it.
Can someone please point me to a place, document, ... where I can find how to change this?
thanks in advance,
Stefan
-- Stefan Völkel - Program Manager - Scalix - a Xandros Company Platz der Einheit 1 - 60327 Frankfurt am Main - Germany Office +49 69 97503 156 - Fax +49 69 97503 200 - Mobile +49 173 7 36 65 84
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Jean-Vincent Drean