[pmwiki-users] relativ path 2 farm pub dir
noskule
noskule at gmx.net
Wed Mar 22 15:29:18 CST 2006
Neil Herber schrieb:
> At 2006-03-22 08:01 PM +0100, noskule is rumored to have said:
>
>> is there a variable that I could use in a wikipage to access an image in
>> a farms pub dir?
>
>
> The farm's pub/ directory is accessible by URL. It has to be for the
> skin files. So you could have:
>
> http://farm.example.com/pmwiki/pub/images/photo.jpg
>
> on any page. If you plan to have a lot of these, you could create an
> Intermap entry like this:
>
> Photos: http://farm.example.com/pmwiki/pub/images/
>
> And then you could replace that long URL with:
> Photos:photo.jpg
>
>
thats what I'm doing now. I want to link the wikicomand buttons (see
http://pmwiki.netstreams.org) But so I have to tell the user that
installs the skin, that he have to set the intermap link like you
describet above. I thougt it would be easyer to but a variable like
Attach:{$SkinDir}/edit.gif. So there would be no effort to install a
field in a farm.
> Neil
>
> Neil Herber
> Corporate info at http://www.eton.ca/
> Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
> Tel: (613) 829-4668
>
More information about the pmwiki-users
mailing list