Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Uploading files in a directory...
Hi folks :)
Is there a way to upload some files in a directory (other than the file one) from the back-office as we can simply do for “files” (tab “Content”-> “Files”) ?
One of my client is planning to display some videos with his articles and I can’t imagine to advice him the use of a FTP software!
In this project, video file names will be retreived from a custom field in order to display these medias from a video player.
Thanks in advance for your advices.
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: Uploading files in a directory...
And a cloud solution as a dropbox (very easy to use)? with smd_remote_file?
advantages: web hosting is less expensive and less used (less bandwidth).
Offline
Re: Uploading files in a directory...
Yes!
Thanks, mate.
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: Uploading files in a directory...
sacripant wrote:
And a cloud solution as a dropbox (very easy to use)? with smd_remote_file?
advantages: web hosting is less expensive and less used (less bandwidth).
This is a good Idea….. but… building a plugin to manage Dropbox folder or alternative such as Drive (google) or 4share?
Offline
Re: Uploading files in a directory...
MarcoK wrote:
building a plugin to manage Dropbox folder or alternative such as Drive (google) or 4share?
Are you saying you’re writing that plugin? :-)
If so, what advantage does it give to integrate a desktop DropBox or Google Drive document with both the cloud host and Textpattern? I can’t see the use case, sorry (maybe I’m dim). The whole ethos behind GoogleDrive (for example) is for collaborative editing of docs (arguments over whether it succeeds in this regard are out of scope!). Why would you want to offer downloads in Textpattern of a document that is constantly changing, when the edit link is just as easy to link to directly?
For the record, smd_remote_file (the beta) almost works with GDrive. It’s just the stupid /edit
that they put on the end of links that screws things up because remote_file tries to use anything after the last slash as a filename. You can’t have more than one filename with the same name in Txp, and if you omit the /edit part, the clicked link opens a new document not the original doc. It’s not an insurmountable problem, so if there’s a true use case for doing it then I can look into a way of making the plugin work for GDrive (at least).
Last edited by Bloke (2012-10-31 15:54:56)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: Uploading files in a directory...
Stef, what you say is correct, and allow download a document that consanty change has not useful, but my idea is not use a cloud server for sharing file beetween collaborative editing.
Is use this method to semplify upload images or file into a textpattern admin.
Now, I can upload by admin form, by ftp upload and importing image or file.
But the idea core is use the same method of sharing file such as Dropbox or Drive: using an off line directory than it was always synchronized with my TXP database of images and files.
So, my clients can copy our images into the directory (ex: Dropbox/mydomine/images) and when they go to admin images tab a plugin synchronize directory with DB.
(Hum…. my english is very bad!!)
Offline
Pages: 1