thought I’d revive this thread. I am using this plugin, which I must say is awesome!
I am receiving an error here and there with particular files though which doesn’t make sense. here is a peak at the code
template code:
<dl><dt>» Software</dt>
<dd>{exp:weblog:entries weblog="brochures" search:bbrand="toshiba" search:bcat="ipsoftware" }
<a href="http://{brolink}">{title}</a>{exp:filesizer filename="{brolink}" upload_pref="3" decimals="1" zero_decimals="no"} {fs:file_size}{fs:size_unit} {/exp:filesizer} {if no_results} No manuals for this category yet! {/if}
{/exp:weblog:entries}
</dd></dl>
rendered page:
NVR Software <– that is a link (works) Error opening file: “F:/web/silmaritsite/files/manuals/NVR_software.pdf” <– this is where the filesize normally shows.
It is very strange. it is the exact same code everywhere, but in some small instances it isn’t working. I thought it might be because of the length of the filename, but that is not the case. (have both short and long file names its happening to).
This very useful, it allowed me to get rid of a few user-input fields. I’m using it for press release attachments (example).
I heard about it on episode one of http://ee-podcast.com/
Thank you!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.