Solved

Wordpress as a CMS - Easy file upload

Posted on 2011-03-01
8
659 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

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

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

733 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