SCRIPTURL{"script"} -- URL of script
- Syntax:
%SCRIPTURL%OR%SCRIPTURL{"script"}% -
%SCRIPTURL%returns the base URL of scripts - expands to http://malat.biz - Expands to:
http://malat.biz/script - Example: To get the authenticated version of the current topic you can write
%SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC%which expands tohttp://malat.biz/viewauth/System/VarSCRIPTURL
In most cases you should use %SCRIPTURLPATH{"script"}%instead, as it works with URL rewriting much better
The editscript should always be used in conjunction with?t=%GMTIME{"$epoch"}%to ensure pages about to be edited are not cached in the browser - Related: PUBURL, SCRIPTNAME, SCRIPTSUFFIX, SCRIPTURLPATH
History: r1 - 19 Sep 2010 - 14:08:06 - ProjectContributor