diff options
author | MikeMannix <MikeMannix> | 2001-09-07 05:10:55 +0000 |
---|---|---|
committer | MikeMannix <MikeMannix> | 2001-09-07 05:10:55 +0000 |
commit | d03469827ec52556736973b4e44ff5ec9b48f599 (patch) | |
tree | 5e14fb5c3fd3a65adc2bc4e2d513ae1d7545c175 | |
parent | ee0f6925622ab69284ac44334570ad9a935d89c6 (diff) |
none
-rw-r--r-- | TWiki/TWikiVariables.mdwn | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/TWiki/TWikiVariables.mdwn b/TWiki/TWikiVariables.mdwn index a38f8386..e4ed80d8 100644 --- a/TWiki/TWikiVariables.mdwn +++ b/TWiki/TWikiVariables.mdwn @@ -569,26 +569,11 @@ Additional variables are defined in the preferences ( site-level ( **_SL_** ) in * You can add your own preference variables for an entire site, a single web, or a single topic, using the standard syntax. Whatever you include in your variable will be expanded on display, and treated exactly as if it had been written out. So you can place formatted text, page links, image paths. -> +> **Example: Create a custom logo variable** > > <br /> > -> To place a logo anywhere in a web by typing -> -> <code>**%MYLOGO%**</code> -> -> , simply define the variable on the web's -> -> -> -> [[WebPreferences]] -> -> page. In this case, you also have to upload -> -> <code>**logo.gif**</code> -> -> to the same directory.: -> -> * * <code>**Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif**</code> +> * To place a logo anywhere in a web by typing <code>**%MYLOGO%**</code>, simply define the variable on the web's [[WebPreferences]] page. You also have to upload `logo.gif` - this can be done by [[FileAttachment]] to `LogoTopic` (any topic name you choose): +> * <code>**Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif**</code> -- [[MikeMannix]] - 30 Aug 2001 <br /> |