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

 

ItemTemplate edit

Summary SCRIPTURLPATH includes the protocol and hostname when called from MailerContrib's mailnotify.tmpl
ReportedBy DanDascalescu
Codebase 1.0.9
SVN Range
AppliesTo Engine
Component MailerContrib, SCRIPTURLPATH
Priority Low
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 29 Mar 2011, GeorgeClark
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads