We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

File

Development and Programming

hothousegraphix's avatar
hothousegraphix
851 posts
16 years ago
hothousegraphix's avatar hothousegraphix

@Phire_SK - take a look at this thread. This defines the steps you need to follow to get it to work.

       
outline4's avatar
outline4
271 posts
16 years ago
outline4's avatar outline4
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

       
Chris Newton's avatar
Chris Newton
440 posts
16 years ago
Chris Newton's avatar Chris Newton

I’ve been thinking about custom fields. I’d like that too. Won’t be a first release… but we’ll see. No promises on that one.

       
PhireGuys's avatar
PhireGuys
525 posts
16 years ago
PhireGuys's avatar PhireGuys
@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 😉

       
Eastwood Design's avatar
Eastwood Design
605 posts
16 years ago
Eastwood Design's avatar Eastwood Design

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

       
LynneL's avatar
LynneL
239 posts
16 years ago
LynneL's avatar LynneL

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. :(

       
Matt Weinberg's avatar
Matt Weinberg
489 posts
16 years ago
Matt Weinberg's avatar Matt Weinberg
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.

       
LynneL's avatar
LynneL
239 posts
16 years ago
LynneL's avatar LynneL

Well good at least my hope (too busy with well paying work) is correct! :D

       
Jason Morehead's avatar
Jason Morehead
454 posts
16 years ago
Jason Morehead's avatar Jason Morehead
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.

       
Solidus Design's avatar
Solidus Design
2 posts
16 years ago
Solidus Design's avatar Solidus Design

Hi Everyone.

I am having a problem with getting the File extension to work within the Multi-site Manager tool.

It works and generates paths for the 2nd site, but not the first.

Any ideas?

J

       
OutofControl's avatar
OutofControl
164 posts
16 years ago
OutofControl's avatar OutofControl

Running EE 1.6.7 I am getting this error when attempting to upload images using File.

Notice: Array to string conversion in /home/oceanrodeocom/dev.oceanrodeo.com/htdocs/content_mgt/core/core.upload.php on line 96

I am running the most recent v3.1.1 of File.

       
PhireGuys's avatar
PhireGuys
525 posts
16 years ago
PhireGuys's avatar PhireGuys
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 following
$file_names[$file_key] = $this->_code().$file['ext'];
to
$file_names[$file_key] = $this->_code($file_name).$file['ext'];
And…
function _code()
{
    return md5(date('U'));
}
should be changed to
function _code( $file_name )
{
    $myhash = $file_name.(date('U'));
    return md5($myhash);
}
Hope that this helps others!
Brother you saved me…

Saved me too… thanks so much! 😊

       
Simon-a's avatar
Simon-a
64 posts
16 years ago
Simon-a's avatar Simon-a

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!

       
PhireGuys's avatar
PhireGuys
525 posts
16 years ago
PhireGuys's avatar PhireGuys
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!

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}.

       
Simon-a's avatar
Simon-a
64 posts
16 years ago
Simon-a's avatar Simon-a

Thanks Phire_SK!

It work well now, can be hard sometime to understand English for me 😊 which It does NOT make all this easy! Thanks again

       
First 52 53 54 55 56 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.