[pmwiki-users] Attach: variants

Henrik henrik.bechmann at sympatico.ca
Wed Oct 11 09:07:31 CDT 2006


Thanks Tegan,

So if, from GroupB, you write Attach:GroupA./mypicture.jpg for a 
non-existent picture, and the user clicks on the resulting upload link, 
does the picture get correctly uploaded to the GroupA directory?

- Henrik

Tegan Dowling wrote:
> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>   

-- 

Henrik Bechmann
www.osscommons.ca
www.bechmannsoftware.com
Webmaster, www.dufferinpark.ca





More information about the pmwiki-users mailing list