SID-01889: Include Attached CSS Code
| Status: |
Answered |
TWiki version: |
6.0.0 |
Perl version: |
|
| Category: |
CategoryAttachments |
Server OS: |
|
Last update: |
11 years ago |
I am trying to include CSS code that is attached to a topic in my TWiki tree.
When I try
%INCLUDE{"%PUBURLPATH%/%USERSWEB%/WaterMark/archiveWM.css"}%
I see
Warning: Can't find topic /pub/Main/WaterMark/archiveWM.css
The file is there; if I change the URL in the address bar to
.../pub/Main/WaterMark/archiveWM.css it shows up. It's readable.
Wy does TWiki say it's not there?
--
Vicki Brown - 2014-03-12
Discussion and Answer
Did you set the {INCLUDE}{AllowURLs} configure setting?
--
Peter Thoeny - 2014-03-13
I thought that only applied if I was trying to include full URLs with the
http://
prefix (not paths on the current server.)
We need a way to distinguish between including URLs
off the server from paths
on the server
--
Vicki Brown - 2014-03-15
You could propose a change and implement?
--
Peter Thoeny - 2014-03-17
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.