This web contains the official documentation of the TWiki Release 4.2, code named FreetownRelease. It is a read-only web for reference. Please update documentation at TWiki.VarSCRIPTURL2. -- PeterThoeny - 29 Aug 2008
Tags:
create new tag
, view all tags

SCRIPTURL{"script"} -- URL of TWiki script

  • Syntax: %SCRIPTURL{"script"}%
  • Expands to: http://www.twiki.org/cgi-bin/script
  • Example: To get the authenticated version of the current topic you can write %SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to http://www.twiki.org/cgi-bin/viewauth/TWiki04x02/VarSCRIPTURL2
  • ALERT! Note: In most cases you should use %SCRIPTURLPATH{"script"}% instead, as it works with URL rewriting much better
  • Related: PUBURL, SCRIPTNAME, SCRIPTSUFFIX, SCRIPTURL, SCRIPTURLPATH, SCRIPTURLPATH{"script"}
Topic revision: r2 - 2005-03-27 - TWikiContributor
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback