E
dit
W
YSIWYG
A
ttach
P
rintable
r1 - 27 Mar 2005 - 13:14:15 -
TWikiContributor
You are here:
TWiki
>
TWiki Web
>
TWikiVariables
>
VarSCRIPTURL2
#VarSCRIPTURL2 ---+++ SCRIPTURL{"script"} -- URL of TWiki script * Syntax: =%<nop>SCRIPTURL{"script"}%= * Expands to: =%SCRIPTURL{"script"}%= * Example: To get the authenticated version of the current topic you can write =%<nop>SCRIPTURL{"viewauth"}%/%<nop>WEB%/%<nop>TOPIC%= which expands to =%SCRIPTURL{"viewauth"}%/%WEB%/%INCLUDINGTOPIC%= * __%X% Note:__ In most cases you should use =%<nop>SCRIPTURLPATH{"script"}%= instead, as it works with URL rewriting much better * Related: [[#VarPUBURL][PUBURL]], [[#VarSCRIPTNAME][SCRIPTNAME]], [[#VarSCRIPTSUFFIX][SCRIPTSUFFIX]], [[#VarSCRIPTURL][SCRIPTURL]], [[#VarSCRIPTURLPATH][SCRIPTURLPATH]], [[#VarSCRIPTURLPATH2][SCRIPTURLPATH{"script"}]]
E
dit
|
W
YSIWYG
|
A
ttach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
: r1
|
M
ore topic actions
TWiki
Log In
TWiki Web
Webs
Main
TWiki
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarSCRIPTURL2