From d03469827ec52556736973b4e44ff5ec9b48f599 Mon Sep 17 00:00:00 2001 From: MikeMannix Date: Fri, 7 Sep 2001 05:10:55 +0000 Subject: none --- TWiki/TWikiVariables.mdwn | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'TWiki/TWikiVariables.mdwn') 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** > >
> -> To place a logo anywhere in a web by typing -> -> **%MYLOGO%** -> -> , simply define the variable on the web's -> -> -> -> [[WebPreferences]] -> -> page. In this case, you also have to upload -> -> **logo.gif** -> -> to the same directory.: -> -> * * **Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif** +> * To place a logo anywhere in a web by typing **%MYLOGO%**, 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): +> * **Set MYLOGO = %PUBURLPATH%/%MAINWEB%/LogoTopic/logo.gif** -- [[MikeMannix]] - 30 Aug 2001
-- cgit v1.2.3