[pmwiki-users] File names with spaces in variables
Simon
nzskiwi at gmail.com
Mon Apr 4 21:25:58 PDT 2022
Thanks for the examples
Attach:{$:gifPTVspaced}
is the problem.
But longer story:
the problem arose because the Site.ImageTemplate page I created
stopped working (I haven't got to the bottom of that yet).
It turns out I was debugging the default-default image page template
generated by thumblist2-actions.php (after searching for the strong
"Back to Gallery")
there is a line in there -
%p center% {*$PrevLink} [[{*$FullName}?action=browse | $[Back to
gallery] ]] {*$NextLink}\\\\
*Attach:{*$UpDirUpFile}*
but my ImageTemplate also has the same problem
ngā mihi
Simon
On Mon, 4 Apr 2022 at 22:46, Dominique Faure <dominique.faure at gmail.com>
wrote:
> Cf. https://www.pmwiki.org/wiki/Test/AttachWithSpaces
>
> What is the exact challenge?
>
> On Mon, Apr 4, 2022 at 11:26 AM Simon <nzskiwi at gmail.com> wrote:
> >
> > We now have the cool markup Attach:[=some file name with spaces=]
> > but I have a challenge when the file name is already in a variable, e,g,
> >
> > [[Attach:{*$UpDirUpFile} | download]]
> >
> > Does anyone have any suggestions for how I can solve this?
> >
> > ngā mihi
> >
> > Simon
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20220405/3a973c1a/attachment.html>
More information about the pmwiki-users
mailing list