• Resolved seank123

    (@seank123)


    I have set up a Custom Setting Page called ‘company_information’ and one of the fields is a file upload for PDFs.

    I have the following working perfectly in a footer:

    [pods name="company_information"]
    
    <div id="company-details-footer">
    	{@company_name}  -  {@company_phone}  -  {@company_email}  -  {@company_website} - <a href="{@catalogue_link}" target="_none">Catalogue</a>
    	<div>
    	
    [/pods]

    But when I try to use the same shortcode in a PODS template, all of the field values are blank.

    I’ve also tried the following:

    
    <a href="{@catalogue_link}" target="_none" rel="noopener noreferrer">Catalogue</a>
    
    <a href="{@company_information.catalogue_link}" target="_none" rel="noopener noreferrer">Catalogue</a>
    

    But the URL for the catalogue_link field returns as blank – as does the text field {@company_name}

    How do I show these fields in a template?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Uploaded file links in templates’ is closed to new replies.