I have a PDF file in my media library that I want to download as an attachment with a filename determined by its context variable "filename".
Everything works fine if I use a static filename in fl_attachment like this:
However, I get an error when I am trying to do something like this:
Is the variable expansion supported in fl_attachment at all?
Please sign in to leave a comment.