WordPress.org

Ready to get started?Download WordPress

Forums

Relational database website (5 posts)

  1. klonoa
    Member
    Posted 1 year ago #

    Hi. I am an experienced web developer and right now I have a client who requires a somewhat complicated site to be made with WordPress, which I have not used before. I understand how I would build this site from scratch, but I need some help getting started with it in WordPress.

    This project is basically a database site. I need to keep track of three tables of data -- as well as their relations. As an example, the three tables could be:
    1, Cars
    2, Colours
    3, Drivers

    Then in a relations table, each category would have it's own field/column which is used to show which entries are related to each other. For example, an entry might be:
    Car: Maserati, Colour: Green, Driver: Pierre

    Then on the site, if I open the Maserati page a side panel would display links for Green and Pierre (as well as any other Drivers and Colours which were associated with this Car).

    How would I build this type of functionality in WordPress? Are there plugins? I am open to any suggestions which would achieve this functionality.

    Thanks in advance! :)

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    What about using custom fields?

  3. klonoa
    Member
    Posted 1 year ago #

    Thanks!

    I understand that this plugin would be good for displaying such extra information. However, the 'extra information' I need to display is strictly links to other posts from different categories.

    In this case, the data I want to include would not be a part of the Mazerati post, it would strictly be that the the 'Pierre post' is associated with the 'Mazerati post'. Then on the Pierre post, I would like to list Mazerati (and, for example, Honda and Porsche if he was associated with those cars as well).

    Can I accomplish such functionality with this plugin?

    I am open to achieving the functionality in different ways, but I basically need to associate posts with different posts from different categories.

    I don't think this should be too complicated, but I am not sure how to do it within WordPress.

  4. klonoa
    Member
    Posted 1 year ago #

    I have not had any success figuring this out yet, so I am wondering if perhaps it's simply not possible or realistic to deliver this kind of site with WordPress.

    If there are experienced users who read this and think that's indeed the case, I would appreciate hearing that I am barking up the wrong tree too! :)

    Thanks in any case!

  5. twobyte
    Member
    Posted 4 months ago #

    This plugin might be able to help:
    http://wordpress.org/plugins/types/

    BUILD RELATIONAL SITES
    Types lets you define parent / child relationship between different post types. You'll easily setup one-to-many and many-to-many relationships and build powerful sites.

Topic Closed

This topic has been closed to new replies.

About this Topic