[pmwiki-users] (:include and Attach:

Tegan Dowling tmdowling at gmail.com
Fri Aug 25 11:56:19 CDT 2006

On 8/25/06, EuGeNe <eugene at boardkulture.com> wrote:
> Hi all,
> on http://www.3kwa.com/Main/HomePage I do an include of the first 3
> lines of the latest Logbook post using a combination of pagelist and
> include.
> My question regards attached elements in an included page.
> Main/HomePage includes Logbook/20060825 which first line is an
> Attach:image.jpg
> Even if the image is uploaded and showing in Logbook/20060825 when the
> latest is included in Main/HomePage the Attach: statement shows as if
> the file was not uploaded because it thinks it should be in uploads/Main
> instead of the group the included page belongs too i.e. Logbook.
> I could be missing something. Can anyone help?

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
[[20060822]], 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.

The work-around is the same, too:  qualify the link on page 20060825.
Instead of having [[20060822]], you'd have [[Logbook/20060822]], and
instead of having Attach:image.jpg on page 20060825, use


Tegan Dowling

More information about the pmwiki-users mailing list