(2 vs. 3) VarSCRIPTURL2 < TWiki < TWiki

Home - this site is powered by TWiki(R)
TWiki  VarSCRIPTURL2 (2 vs. 3)

Welcome | Register | Changes | Topics | Index | Search | Go

 <<O>>  Difference Topic VarSCRIPTURL2 (3 - 2009-10-16 - TWikiContributor)
 
META TOPICPARENT name="TWikiVariables"

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

  • Syntax: %SCRIPTURL{"script"}%
  • Expands to: http://desperate4jesus.org/bin/script
  • Example: To get the authenticated version of the current topic you can write %SCRIPTURL{"viewauth"}%/%WEB%/%TOPIC% which expands to http://desperate4jesus.org/bin/viewauth/TWiki/VarSCRIPTURL2
Added:
>
>
  • Example: How to link to another topic with a URL parameter: [[%SCRIPTURL{view}%/%WEB%/MyQuery?food=sushi][Sushi]]
 
  • ALERT! Note: In most cases you should use %SCRIPTURLPATH{"script"}% instead, as it works with URL rewriting much better
Changed:
<
<
>
>
Deleted:
<
<
 

View | History: r4 < r3 < r2 < r1 | More

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2025 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.

Revision r4 - 2012-11-15 - 06:58:33 - TWikiContributor Edit

(%REVTITLE2% vs. %REVTITLE1%) VarSCRIPTURL2 < TWiki < TWiki