latest is giving me various output like this at top of every page on site:
Array
(
[hidden_fields] => Array
(
[ACT] => {AID:Weblog:insert_new_entry}
[RET] => http://localhost/index.php/daily_photo/upload/
[PRV] => {PREVIEW_TEMPLATE}
[URI] => /daily_photo/upload/
[XID] =>
[return_url] => daily_photo/index
[author_id] => 1
[weblog_id] => 7
[field_ft_6] => none
[field_ft_7] => none
[site_id] => 1
)
[action] => http://localhost/index.php/daily_photo/upload/
[id] => entryform
[secure] => 1
[enctype] =>
[onsubmit] =>
)
Array
(
[hidden_fields] => Array
(
[ACT] => {AID:Search:do_search}
[XID] =>
[RP] => search/results
[NRP] =>
[RES] =>
[status] =>
[weblog] =>
[search_in] => everywhere
[where] => all
[site_id] => 1
)
[action] =>
[id] =>
[secure] => 1
[enctype] =>
[onsubmit] =>
)
using php 5.2.1 and still not adding the upload directory tag also. 😉 browsing directly to the lang file provides a blank page.
Really hope this gets developed into something nice and solid.
Would there be any way to add a progress bar (eg swfupload, fancyupload), or animated uploading gif for larger files?
Would there be any way to store files in sub directories based on user ID? I am thinking for community based sites where lots of members will be uploading content, giving each member their own sub directory would make things much neater.
Really hope this gets developed into something nice and solid.
Same 😊
Would there be any way to add a progress bar (eg swfupload, fancyupload), or animated uploading gif for larger files?
This isn’t really in the scope of this extension. I basically want to provide a very simple easy way to upload files using native web browser controls. Anything else like loading indicators / swf uploader will add lots of extra complexity.
Would there be any way to store files in sub directories based on user ID? I am thinking for community based sites where lots of members will be uploading content, giving each member their own sub directory would make things much neater.
Hmm maybe… but probably not. At the moment the extension obeys the file upload prefs you set in the admin. Actually thinking on the fly maybe I could add this in as an option…
lg_file_upload_sub_folder = '{member_id}'
That would work ok I guess. 😊
My problem solved with the new version and PM, thanks for the support Leevi, it’s appreciated.
You can add a “loading” gif easily enough. Here’s something to get you going. Just upload the gif and make sure the path is the same:
<input type="submit" name="submit" value="Submit" onclick="document.getElementById('UploadProgress').style.display=''; form.submit(); return false;" />/assets/loading.gif
Works, but any of you javascript guys correct me if it’s not right.
My problem solved with the new version and PM, thanks for the support Leevi, it’s appreciated. You can add a “loading” gif easily enough. Here’s something to get you going. Just upload the gif and make sure the path is the same:Works, but any of you javascript guys correct me if it’s not right.<input type="submit" name="submit" value="Submit" onclick="document.getElementById('UploadProgress').style.display=''; form.submit(); return false;" />/assets/loading.gif
You shouldn’t need the
form.submit(); return false;
as the submit button will still submit the form after showing the throbber
Great extension.. Been waiting for something simple and easy. If you can somehow get this to work with an Standalone “Edit” Form, I’ll be the first ton chime in on this one. Seriously, I’ve been dwelling at all the options, until I spotted this post by surprise. *Bows*
The latest version supports editing (but not deleteing) a file.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.