Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I work in a small print shop and I want to digitize our workflow. I have found many plugins that are for support tickets, but I want to be able to create job tickets for printing jobs. I have found several of form plugins (Gravity, Formidable Pro) that make the form portion easy, but I need a way to create reports and view the data that is being stored in the db. I need the ability to create relational databases. Is this possible within wordpress?

share|improve this question
    
As in custom databases, or you want to use...say, a custom post type within the current database strucutre? –  m0r7if3r Feb 15 '12 at 18:08
add comment

1 Answer

up vote 0 down vote accepted

Yes, it's possible. WordPress uses a relational database and you're free to add tables to it. As a warning - you will need to create new functions/classes to work with your new tables. WordPress' built in functions will probably not work with new tables.

As a side note, new content types such as reports and tickets can be encapsulated in Custom Post Types. With CPTs you have built in WordPress functions at your disposal and it's easy to create an admin section for your new CPT.

I've done both, adding custom tables and using CPTs for new content types. I find using CPTs a lot more convenient and productive most of the time.

share|improve this answer
2  
You can use the $wpdb class for interacting with custom tables. –  Stephen Harris Feb 15 '12 at 18:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.