Hi,
I would like to make some customization in the Event detail page which is possible with the "custom layout". Also I found how I can make conditional formating to leave a field blank if there's no content ->
https://www.jevents.net/frequently-asked-questions/handling-missing-values-in-custom-layouts
But I would like to show the field "{{Uploaded File Href 1:JEV_FILE_HREF_1}}" formatted this way:
<a href="{{Uploaded File Href 1:JEV_FILE_HREF_1}}" target="_blank"><span uk-icon="icon: file-pdf; ratio: 3">
With this formatting it just shows a PDF icon instead of the text link.
Is it possible to make something like IF Uploaded File Href 1:JEV_FILE_HREF_1 is NULL or "" show nothing else <a href="{{Uploaded File Href 1:JEV_FILE_HREF_1}}" target="_blank"><span uk-icon="icon: file-pdf; ratio: 3"> ?
I tried this way but without success:
{{Uploaded File Href 1:<a href="{{Uploaded File Href 1:JEV_FILE_HREF_1}}" target="_blank"><span uk-icon="icon: file-pdf; ratio: 3"></span></a>#Uploaded File Href 1 is %s#Uploaded File Href 1}}
Thanks for your help.
Fabian