0

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?

  • As in custom databases, or you want to use...say, a custom post type within the current database strucutre? – mor7ifer Feb 15 '12 at 18:08
0

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.

  • 2
    You can use the $wpdb class for interacting with custom tables. – Stephen Harris Feb 15 '12 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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