[pmwiki-users] Attach: variants

Tegan Dowling tmdowling at gmail.com
Wed Oct 11 08:28:16 CDT 2006


On 10/11/06, Henrik <henrik.bechmann at sympatico.ca> wrote:
> Patrick,
>
> Is there any way to modify Attach: so that it points to specific
> repositories?
>
> Say I have uploads configured to upload attachments to subdirectories
> named by group, and I want to (:include:) a page from one group in
> another. Then Attach: (as I understand it) would fail because it would
> point to the repository of the including group, not the included group.
>
> Is there a way to associate group names with Attach:? So authors would
> write Attach-MyGroup:mypicture.jpg, and the specification of the keyword
> would be "Attach-{$Group}:"??

Hi:

I'm not positive I understand your question, because I thought the
question that I think you're asking was addressed in the
documentation.  But if you *are* asking the question I think you're
asking, the answer is:

You can use Attach:Group/AnyPage/mypicture.jpg, or just
Attach:Group./mypicture.jpg (note that "." after "Group") to specify
which directory of uploads the file mypicture.jpg is located in.

HTH

Tegan




More information about the pmwiki-users mailing list