The following page text variable is on GroupA.Page1:

(:graphic: Attach:an-image.png :)

On GroupB.Page2, we have a custom directive (:bookmetadata GroupA.Page1:) that generates a table of metadata names and values, including:

|| graphic||{GroupA.Page1$:graphic} ||

This produces a link to uploads/GroupB/an-image.png, whereas we would like it to produce a link to uploads/GroupA/an-image.png. The code works correctly if the (:bookmetadata:) directive is on GroupA.Page2 -- the problem arises when we retrieve the graphic PTV from a different group.

Is there a way, preferably easy, to do this?

JR

--
John Rankin



_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to