• Resolved namba0225

    (@namba0225)


    Hello,
    My question is simple but I have searched a lot without luck.

    I’m trying to have separate tables for my relationships between custom content types tables, I know they are storaged in podsrel table, but I need to be able to have 1 table for each relationship

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Scott Kingsley Clark

    (@sc0ttkclark)

    We’ve had a few requests over the years for this, it’s on our radar but not yet planned. It’s not possible to have a custom relationship table used per relationship right now, not even with our available hooks.

    Here’s the enhancement that was requested a few years ago: https://github.com/pods-framework/pods/issues/1594

    Thread Starter namba0225

    (@namba0225)

    Thanks for your answer, I would like to know if there is a way to storage the image URL directly in the field of my custom content type, it is creating the relationship in the wp_post table and that is the main thing you want to avoid when using advanced content types

    Plugin Contributor Jim True

    (@jimtrue)

    You are working with WordPress, that means you’re working with the Media Library and that’s where that connection to media is coming from in wp_posts.

    I believe you can choose plupload for your image type, but I believe it will still write that file to the Media Library.

    You can always write your own image handler, file storage for images and write that url in your field separate from the Media Library in WordPress, but that is very much outside the scope of Pods support.

    I would wonder why you’re developing your solution on WordPress if you don’t want to use anything within the WordPress infrastructure. When you develop solutions along those lines, you make it impossible for any other plugins from WP or any other methods from WP to work with your content.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Creating new tables for relationships’ is closed to new replies.