WordPress.org

Ready to get started?Download WordPress

Forums

Pods - Custom Content Types and Fields
[resolved] Question regarding relationship field and format is autocomplete (5 posts)

  1. greattest
    Member
    Posted 1 year ago #

    I set a relationship field with selecting "Format", "Autocomplete"; "Display Field in Selection List", I set a custom field not post title. Then when I try this relationship field(Search relationship ones) in custom type, I find it only shows the post title not the custom filed which I defined in "Display Field in Selection List". I don't know whether I need to set some parameters for items "Customized WHERE", "Customized ORDER BY", "Customized GROUP BY". If so, how to set them?

    http://wordpress.org/extend/plugins/pods/

  2. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Display field in selection list only works off of a field on the pod table itself. We're still working on improving support for additional fields to be listed there. It's also limited to only one field at a time.

  3. greattest
    Member
    Posted 1 year ago #

    But when I set the Format to "Drop Down", it display the right Custom Field information. If it is "Autocomplete" problem and can't be solved now, can you tell me how to set parameters of "Customized WHERE" and "Customized ORDER BY"? Then I may use "Drop Down" way in by some order.

    Thanks

  4. Scott Kingsley Clark
    Member
    Plugin Author

    Posted 1 year ago #

    Customized WHERE / ORDER BY / GROUP BY all take standard MySQL queries.

    So for customized WHERE, you could enter: t.whatever = 1 AND relationship_field.something = "Cool"

  5. greattest
    Member
    Posted 1 year ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic