On Feb 20, 4:43 pm, EduardWagner <[email protected]> wrote:
> have some little confusion with static plugin.
> Use following in tiddlywebconfig.py:
>         'css_uri': '/static/css/tiddlyweb.css',
>         'system_plugins': ['static','formeditor'],
>         'static_dir': 'static',

I see you are using the formeditor, how's that working out for you? I
haven't done any work on it since first putting it together, and have
been saying I would.

> links to documents work relative and absolute:
> [[QuickReference|./docs/tiddlywikiquickreference.pdf]] OK
> [[QuickReference|/static/docs/tiddlywikiquickreference.pdf]] OK
>
> but links to pics work only absolute, relative linking to pictures
> doesn't work:
> [img[picture |./pics/tup_logo_all.gif]] NOK
> [img[picture |/static/pics/tup_logo_all.gif]] OK

I'm surprised the relative links are working in the docs case, as they
shouldn't work in either case. Assuming you are loading up your wiki
from a recipe or bag URL and the links to images and docs are just
taking the text after the | and wrapping it with an href, the server
would see something like:

  /bags/bagname/pics/tup_logo_all.gif

which doesn't exist.

Can you look in your log and see what URL is being recorded for the
working pdf link and the not working gif link?

In any case, when using the static plugin, it's expected that you'll
use absolute links.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to