Guillaume
First works fine with "other" Velocity, but not for pages including the
"force skin" trick as it get redirected to the page holding the snippet.
Use #includeInContext('Other.Page') instead.
I think this is a very particular side effect of a
previous trick, so I
am not sure if I must waste your time here considering much better
methods to manage backgrounds and other layout characteristics are on
their way. In the meantime, the second method will do perfectly here.
Thanks!
One curious thing: by using getContent() I didn't get any result
message: no success, no failure. Could you figure out why? Thanks!
That's weird. Did you change anything else than
#set($emailcontent = "
Author : $xwiki.getUserName($doc.getContentAuthor(), false) | Date :
$xwiki.formatDate($doc.date, 'MMM dd, yyyy HH:mm') | Email comment :
$emailcomment
$doc.getContent()
$emailpagecomments
")
?
Guillaume