I’ve got a list of files that are available for download to site members. I want only site admins to be able to upload these files but I want all site members (there are two other non-admin groups) to be able to download them from the page template. The files themselves are uploaded to a channel dedicated to this task, which includes fields for a description of the file and the file itself. The file field is called downloads_file. My template code for the list of files is as follows:
<ul>
{exp:channel:entries channel="documents_for_download" disable="categories|member_data|pagination" sort="asc"}
<li><a href="http://{downloads_file}{url}{/downloads_file}">{title} ({downloads_file}{extension}{/downloads_file})></a></li>
{/exp:channel:entries}
</ul>And it works fine except that only members with upload privileges can see the content of the {downloads_file} tag pairs. And that’s my problem, because unless the user is logged into the site as a site admin the file extension and – more importantly – the URL do not get passed into the template. I tried removing the member_data part from my channel:entries tag’s disable parameter, but it made no difference.
Is this a ‘feature’ or is it a bug? Or am I just doing something wrong? How do I let members who do NOT have upload privileges download the files (and see the file type)?
Thanks as always;
Rick