NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item9693 for docu changes for 1.2 and 2.0.
Item9910: SCRIPTURLPATH includes the protocol and hostname when called from MailerContrib's mailnotify.tmpl
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Low |
New |
Engine |
MailerContrib, SCRIPTURLPATH |
|
In
MailerContrib/templates/mailnotify.tmpl, I added the following line
This is SCRIPTURLPATH{"view"} from e-mail: %SCRIPTURLPATH{"view"}%.
The result is not just
/view, but includes the protocol and host:
This is SCRIPTURLPATH{"view"} from e-mail: http://beta.wiki.company.com/view.
In topics, SCRIPTURLPATH{"view"} returns correctly just
/view.
--
DanDascalescu - 27 Oct 2010