Files Module
Posted: 23 September 2006 08:16 AM   [ Ignore ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

The PHP for this module seems to be just about done.  The module allows you to upload and rename files while an extension provides you a way to browse your files from the edit tab.  I still have to do some JS work so the extension works from the publish tab, but that’s coming soon.  Until then check out the following alpha stages of development by downloading the zip or view the image to see how the publish tab selection is coming along.

A few notes:
1. There is currently no way to select files from the publish tab, the entry must be saved first.
2. This is an alpha release.  Please let me know what kind of troubles you have, image paths, folder permissions etc.
3. I have not tested the display of this in IE yet.  For now, use Safari or Firefox.  Or, if you’re feeling generous try out IE and let me know if there’s any issues.

Change-log
1.0.1 - I’ve removed the module because it is so young.  I’ll be updating it and posting once it is a little bit further along.
1.0.0 - Initial Release

Image Attachments
files.jpg
Click thumbnail to see full-size image
File Attachments
mod.files_100.zip  (File Size: 93KB - Downloads: 257)
 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 07 October 2006 10:16 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  547
Joined  01-05-2005

Hi Mark, just started playing with this.  Is there any reason why I can’t simply select the image using the checkbox?  Right now I seem to have to click the image name, then click the “Select Image” button, which then checks the checkbox.

cheers.

 Signature 

Celebrating again soon.

Profile
 
 
Posted: 07 October 2006 11:15 AM   [ Ignore ]   [ # 2 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Hi Mark, I’m still sort of new to EE and haven’t come across extensions yet. I’m not seeing anything resembling your screenshot above when editing an entry. Is a tab supposed to show up when I publish or edit?

I did just now find out that I have to enable extensions, which I did, and then I enabled the Files Extension. I clicked on “Documentation” which brought me to a blank page. Thanks for any help here…

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 07 October 2006 12:02 PM   [ Ignore ]   [ # 3 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

As I mentioned above, this is certainly an alpha release (the checkboxes not working being one example of that).  To that end, I am working on this extension/module some more and will be converting it over to an AJAX backend so that the checkboxes can work and the files can be attached without saving the entry first.

mdesign: you’ll have to create a new field first under the admin tab and choose the “Files” field type.  However, i would not recommend using this extension for anything other than testing, as it is still so young.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 20 October 2006 06:47 PM   [ Ignore ]   [ # 4 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Just to update everyone.  I’ve abandoned development of this module/extension because my new “File” extension seems to do everything this did.  However if you are still interested in the file manager module you can grab that at the top of this thread.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 08 November 2006 11:11 AM   [ Ignore ]   [ # 5 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Now knowing that this has been discontinued, I thought I would uninstall it from the site I’m working on, but I can’t seem to uninstall this module.

I go to Modules, and click on Remove and it throws this error:

Fatal error: Call to undefined method Files_CP::files_module_deinstall() in /Users/me/Sites/mysite/mysiteadmin/cp/cp.modules.php on line 362

I was only testing with this module - can I just safely delete it from the Modules folder?

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 08 November 2006 11:14 AM   [ Ignore ]   [ # 6 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

You can remove the files, however, you’ll also have to run this sql query (and just to be safe I’d backup your MySQL before running this):

DELETE FROM exp_modules WHERE module_name='Files'

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 08 November 2006 11:32 AM   [ Ignore ]   [ # 7 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Great, taken care of…thanks!

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 10 November 2006 03:44 PM   [ Ignore ]   [ # 8 ]  
Summer Student
Total Posts:  19
Joined  07-20-2006

Hi Mark,

Have you abandoned the Files Module entirely, or just the extension part in favor of your new file extension? The module portion fills a much needed gap in the EE control panel so I hope it doesn’t get left behind.

Thanks for all the great work you’re doing here.

- Andrew

Profile
 
 
Posted: 10 November 2006 10:59 PM   [ Ignore ]   [ # 9 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

I’ve uploaded just the module again if you’d like to try it out.  It’s missed out on development for a few months so let me know if there are any bugs in it.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 17 November 2006 09:40 AM   [ Ignore ]   [ # 10 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006

Sorry, but with the File extension, if I allow for multiple file uploads, how do I reference those in the post? Something like {fieldname}, {fieldname_02}?

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
Posted: 17 November 2006 10:02 AM   [ Ignore ]   [ # 11 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

Could someone from pMachine move this last post over to the File extension thread at: http://expressionengine.com/forums/viewthread/38997/ so we keep all discussion in one place?  Thanks.

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 17 November 2006 10:11 AM   [ Ignore ]   [ # 12 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1184
Joined  01-05-2006

to answer your question though, try this: http://expressionengine.com/forums/viewthread/38997/#181203

 Signature 

================================================
    Mark Huot
    http://markhuot.com
================================================

Profile
 
 
Posted: 17 November 2006 10:19 AM   [ Ignore ]   [ # 13 ]  
Lab Technician
Avatar
RankRankRankRank
Total Posts:  1726
Joined  03-26-2006
Mark Huot - 17 November 2006 10:02 AM

Could someone from pMachine move this last post over to the File extension thread at: http://expressionengine.com/forums/viewthread/38997/ so we keep all discussion in one place?  Thanks.

Good idea…I wasn’t even aware of the other thread. Thanks.

 Signature 

ryan masuga
—————
Masuga Design | Member, EE Pro Network
My EE Add-Ons | {devot:ee}
Twitter: masuga | masugadesign | devot_ee

Profile
 
 
   
 
 
‹‹ Tome (Static Pages)      Wiki search question ››
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64905 Total Logged-in Users: 49
Total Topics: 81844 Total Anonymous Users: 33
Total Replies: 440035 Total Guests: 253
Total Posts: 521879    
Members ( View Memberlist )