Solved

Wordpress as a CMS - Easy file upload

Posted on 2011-03-01
8
647 Views
Last Modified: 2012-08-13
Hi there,

I'm creating a site and using Wordpress as a CMS for a client. One of the requirements is to have a page that lists a bunch of publications which my client will update themselves on a continual basis. I want to make things as easy as possible for them so I'd like to create some sort of system where all they'll need to do is upload the file, a thumbnail of the publication, and enter the title - and everything will be populated and added to the page. The content will either be organized in a table or with divs so I would rather not allow the client to add the files themselves in the WYSIWYG editor to prevent them from messing up the layout of the page.

I was thinking that using custom fields might be the way to go but wasn't sure if there are any better alternatives that someone could suggest. Over time, there is going to be a whole lot of publications so something that keeps things simple and organized would be best. Any help would be greatly appreciated. Thanks.
0
Comment
Question by:Adam
  • 5
  • 3
8 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 35010513
Hi furio13.

You are probably looking at doing something with post/page templates.  However, if they are into the backend, it's kind of tricky to disable the uploader and media buttons in a sane and rational way.

What you could do is investigate using a form->post capable plugin (like GravityForms) to create a custom form with uploads for the user to fill out and you manage on the backend with a template to create the kind of post you want.
0
 
LVL 1

Author Comment

by:Adam
ID: 35010715
Thanks for the reply jason1178.

I appreciate the suggestion but I would much rather keep everything in the admin backend. The client will eventually have access to the backend to allow them to create new posts and edit content. For the publications, I don't necessarily need to "hide" the WYSIWYG editor - I was just hoping to provide a simplified option to add new publications.

I was even considering some sort of setup where publications are generated from "Posts" that are in a particular category I create (i.e. "publications"). I can create a page within my theme that would then post the publications from that category and it would be laid out as I want it.

Not sure if that's more work then it needs to be though....

Thoughts?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 35010805
The problem with keeping everything in the backend is that you will mostly have to live with the media uploader and it's embedding method.  
0
 
LVL 1

Author Comment

by:Adam
ID: 35010844
I agree that the client would have to first upload their file through the media uploader but once they have the URL to the files, I can create custom fields and get them to place the info there. Then in the theme, have it call on the files and have them embedded the way I want.

I could be missing your point though. Can you elaborate?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 35010879
My larger point is you will have to actively prevent them from also clicking on "insert into post" when using the media uploader which will involve a hack to the core WordPress files.  Not saying it can't be done, only that you have some work ahead of you.

Going with the form-based solution prevents this issue entirely while giving you a bit more control over what happens.  Not saying it is a perfect solution, but maybe a middle-ground for you to investigate before locking into the backend.
0
 
LVL 1

Author Closing Comment

by:Adam
ID: 35048057
Unfortunately, not quite the answer I was hoping for but I guess there may not be many easy options for what I'm looking to do.
0
 
LVL 1

Author Comment

by:Adam
ID: 35048059
Thanks for the help jason1178.
0
 
LVL 1

Author Comment

by:Adam
ID: 35101715
For anyone who has faced the same issue, I came across a plugin called Magic Fields that I think would help solve a situation like this.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
Read about how to approach blogging and about ways to do it right. Stand out from the crowd and let your knowledge be consumed by a large audience. This article aims to explain how your blog should look like,  the most important things to do while b…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now