[pmwiki-users] (:include and Attach:
tmdowling at gmail.com
Fri Aug 25 13:28:24 CDT 2006
On 8/25/06, EuGeNe <eugene at boardkulture.com> wrote:
> Tegan Dowling wrote:
> > That's consistent with how links work in general. That is (just to
> > illustrate the point), if you had a link on Logbook/20060825 formatted
> > [], it would work fine when viewed from Logbook/20060825,
> > but you'd have this same problem if the link were part of the text
> > that's included from Logbook/20060825 onto Main/HomePage.
> I understand that but I don't (didn't) think one can treat links like
> Attach: but that's just me. I am sure there are many reasons and a
> design goal behind that decision.
> > The work-around is the same, too: qualify the link on page 20060825.
> > Instead of having [], you'd have [[Logbook/20060822]], and
> > instead of having Attach:image.jpg on page 20060825, use
> > Attach:Logbook/20060825/image.jpg.
> Thanks for the workaround it does work PLUS I didn't know one could
> qualify the group in an Attach: statement ;)
> Will go to bed smarter tonight (yeah!!!) doesn't happen every day ;)
One other fact: Unless you've set the wiki up to have per-page
attachments (which I doubt), I believe the default configuration is
for attachments to be stored in Uploads/ByWikiGroup. When you use the
syntax Attach:Groupname/Pagename/file.ext, the Pagename doesn't have
to be the one where you're using the image - I think it actually
doesn't even have to be one that exists.
Happy to help - there's so little I can do to contribute. Happy wiki-ing,
More information about the pmwiki-users