?
Solved

Wordpress as a CMS - Easy file upload

Posted on 2011-03-01
8
Medium Priority
?
681 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
Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

649 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