Tags:
create new tag
view all tags

SID-01889: Include Attached CSS Code

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Include Attached CSS Code
SupportCategory CategoryAttachments
TWiki version 6.0.0
Server OS

Web server

Perl version

Browser & version

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2014-03-17 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.