@Phire_SK - take a look at this thread. This defines the steps you need to follow to get it to work.
Yes. Titles. Descriptions. For the first release, no sort. For the next… yes. A few other minor things too, like image size & width.
great…! looking forward to the new file! although I’d prefer a more general approach to titles and descriptions. like custom definable fields (like datamatrix). but then, I don’t have a clue on how difficult this would be to programm! anyways, I’m really looking forward to this!
thanks already stefan
@Phire_SK - take a look at this thread. This defines the steps you need to follow to get it to work.
Thanks, exactly what I needed 😉
I have the File Gallery installed and having some trouble:
My custom field is resource_file and the field type is set to File Gallery
This is in my template:
{if resources_file != ""}{/if}
{if resources_file }
{resources_files}
<a href="http://{resources_file}">{file_title}</a>
{file_desc}
{/resources_files}
{/if}
this is what is rendered in the browser:
{resources_files}
<a href="http://domain.com/pathtofile.pdf">{file_title}</a>
{file_desc}
{/resources_files}
it is not recognizing the {file_title} or the {file_desc} tags as well as the multiple {resources_files} tags
Chris Newton: You have my undying gratitude for taking this on! This is a basic, essential, must-have extension for pretty much every 1.6.x install I have (I’m guessing it’s the same for everyone), and just the idea of not having to deal with the few bugs in it (and all your features you’re talking about) makes me salivate. So make sure you post to this thread when you release, as one of the few reasons I’m even posting is to make sure the “notify me via email” box is checked.
Why I didn’t have this thread on notify, when it’s so important, I don’t know…except that I would be inundated. LOL
Anyone know what’s happened to Mark H? He was such a vital and important member of this forum. I just hope he’s all right, and just sooooo busy with well-paying work that he can’t be active here any more. :(
Anyone know what’s happened to Mark H? He was such a vital and important member of this forum. I just hope he’s all right, and just sooooo busy with well-paying work that he can’t be active here any more. :(
He’s working at Happy Cog.
Chris Newton: You have my undying gratitude for taking this on! This is a basic, essential, must-have extension for pretty much every 1.6.x install I have (I’m guessing it’s the same for everyone), and just the idea of not having to deal with the few bugs in it (and all your features you’re talking about) makes me salivate.
My thoughts exactly.
Brother you saved me…2. If I turn on file rename, then upload 2 or 3 images, only the last image gets uploaded by 3 times!This issue was driving me crazy so I decided to dig deep down into the extension and was able to fix this issue. The extension is generating a random filename using a MD5 hash based on the date down to the second and I think the server processes it so fast that multiple files end up getting the same name. So I ended up prepending the date with the filename. I am using version 3.1.1 of the extension. Change the followingto$file_names[$file_key] = $this->_code().$file['ext'];
And…$file_names[$file_key] = $this->_code($file_name).$file['ext'];
should be changed tofunction _code() { return md5(date('U')); }
Hope that this helps others!function _code( $file_name ) { $myhash = $file_name.(date('U')); return md5($myhash); }
Saved me too… thanks so much! 😊
Hello Everyone,
I’m trying to use, in a really basic way, this extension 😊
How I can show up (in the front office) multiple files ? I tried :
{multi_file}
{file}
{/multi_file}
file is the name of my custom field.
As you see it’s really basic, but I’m trying since 1 hour without any success! Thanks in advance!
Hello Everyone, I’m trying to use, in a really basic way, this extension 😊 How I can show up (in the front office) multiple files ? I tried :file is the name of my custom field. As you see it’s really basic, but I’m trying since 1 hour without any success! Thanks in advance!{multi_file} {file} {/multi_file}
Make sure to take a look at the documents: http://docs.markhuot.com/ee/extensions/file
At the bottom it explains how to show multiple. You have it basically right as long as {multi_file} is the name of your custom field. Also {file} should be replaced with the appropriate variable like {file_url}.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.