I have a very simple macro I'm using to pick PDF's from my media section and add them to the RTE.
The parameter is "pdfFile" the mediatype is "PDF" and I'm not getting any results. I just want to create a simple download of the PDF file on the front-end.
mediaCurrent macro parameter XSLT
I have a very simple macro I'm using to pick PDF's from my media section and add them to the RTE.
The parameter is "pdfFile" the mediatype is "PDF" and I'm not getting any results. I just want to create a simple download of the PDF file on the front-end.
Can anyone assist me with this?
Cheers, JV
Hi, Try to change your xslt to this
Add a variable name pdfFile for the parameter and test if media is present
Hope this helps
Hi Fuji
I tried your suggestion but I'm still not seeing anything on the front-end.
Sorry my fault i just noticed you hava e mediaType "PDF", in the for-each change File to PDF
is working on a reply...