http://www.pmwiki.org/wiki/Cookbook/LinkedResourceExtras :)
On Fri, Aug 21, 2015 at 12:19 PM, Simon <nzsk...@gmail.com> wrote: > On page http://www.pmwiki.org/wiki/PmWiki/UploadVariables > > the following variables are defined > > $UploadUrlFmt > > $UploadDir > > $UploadPrefixFmt > > > But they are not exposed to PmWiki markup, i.e. don't work on the website. > > Are there any variables that are? > > > On a second note (for NZTopo), can someone suggest some exemplar code that > would left me validate, in a recipe, that a supplied filename (as a > parameter) exists in a upload directory. > > It would have to cope with per page/per group attachments, and the standard > pmwiki variants > > filename.ext > > group.page/filename.ext > > > etc. > > > Ideally if the file does not exist it would exhibit an upload link. > > > Or is there an internal PmWiki function for the use of recipe writers? > > > tia > > > Simon > > > > _______________________________________________ > pmwiki-devel mailing list > pmwiki-devel@pmichaud.com > http://www.pmichaud.com/mailman/listinfo/pmwiki-devel > -- Dominique _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel