[pmwiki-users] Attach: variants

Patrick R. Michaud pmichaud at pobox.com
Wed Oct 11 09:17:06 CDT 2006


On Wed, Oct 11, 2006 at 10:07:31AM -0400, Henrik wrote:
> 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?

Yes.

I'd also like to configure things so that Attach: in an include
will be relative to the included page -- I just haven't figured out
how to code that yet.

Pm


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




More information about the pmwiki-users mailing list