Hi, I don`t know the code of the app in question, but specifically to your questions: * the document "Invitation.InvitationConfig" seems to be the one holding the configuration object with the "guestsActionsPage" property * getExternalURL uses the server configuration that you have set in your wiki's descriptor located in the main wiki at "XWiki.XWikiServerXwiki" (for the main wiki) or in "XWiki.XWikiServerWikiname" (for a subwiki).
Hope this helps, Eduard On Thu, Dec 17, 2015 at 8:36 PM, deltamind106 <[email protected]> wrote: > There is a snippet of Velocity code in the XWiki invitation email template > that looks like this: > > > > *$xwiki.getDocumentAsAuthor($config.get("guestsActionsPage")).getExternalURL())* > > Where is the 'config' binding for Velocity documented? If I want to change > the value for "guestsActionPage", where would make this change? > > How does the "getExternalURL" method work? Currently, it seems to be using > the short hostname in the URL it returns, which will not work for us since > that particular hostname is not published on our DNS server. So I need to > change the behavior of "getExternalURL" so that it uses an IP address. > Where would I do that? > > Thank you in advance for any help you can provide. > -Eric > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Documentation-on-Velocity-binding-for-config-object-tp7597271.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
