SID-01114: WEBHEADERART appearing only in webpreferences topic
| Status: |
Answered |
TWiki version: |
4.0.0 |
Perl version: |
|
| Category: |
CategorySkin |
Server OS: |
Debian kernel 2.4.27 |
Last update: |
15 years ago |
Hello everyone. I am new to TWiki and have a difficulty setting my own webheaderart. I browsed for similar issue but didn't find anything helpfull. In the web i want to set the header, i have inserted the following in the web's preferences topic:" * Set WEBHEADERART = %PUBURLPATH%/%WEB%/%TOPIC%/ACCOUNTINGheader.gif" and i have attached the ACCOUNTINGheader.gif. The result is that the header is displayed normally in the web's preferences topic but only there!!
There is something wrong i am doing. Maybe has to do with the TOPIC variable.
Thanks for your understanding
--
FrancoisSiaholevas - 2011-02-21
Discussion and Answer
TWiki evaluates variables in settings with the scope of the current topic, not where the setting is defined in. Therefore, in the WEBHEADERART setting, replace %WEB% with name of web, and %TOPIC% with WebPreferences.
--
PeterThoeny - 2011-02-22
Thank you very much for your quick and accurate answer!!
--
FrancoisSiaholevas - 2011-02-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.