Support » Plugin: CMB2 » Need select dropdown in hierarchical order

  • Resolved pournima99

    (@pournima99)


    Hello,

    We have radio box and checkboxes are in hierarchical order.

    I need to show the location in hierarchical order in select dropdown only(Not in radio hierarchical order or checkbox) on the property submission page. This is my client requirement.
    Can you please suggest me how to do that?

    Please help me out ASAP.

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    We’re not going to be able to see the page without a login, so perhaps some screenshots would suffice?

    What is your CMB2 code for this spot?

    pournima99

    (@pournima99)

    Hello,

    Thank you for your reply.

    Below is the code screenshot.
    https://prnt.sc/olidmf
    File path: /home/oriontechnosoft/public_html/project/real-estate/wp-content/plugins/realtyelite-theme-plugin/opal-estate/inc/post-types/class-post-type-property.php

    Below is the page screenshot
    https://prnt.sc/olifcf
    Here, you can see all locations are there in dropdown, but I need to display that in hierarchical order Like below screenshot
    https://prnt.sc/olih6j

    Please look into it.
    I will share my site details in Email.

    Thank you.

    Plugin Author Justin Sternberg

    (@jtsternberg)

    This is a decent request. I have added it this morning to the develop branch: https://github.com/CMB2/CMB2/commit/f0003ad515c566f48606068962af7581f8aca903

    Feel free to checkout the develop branch from github to get this new field type, taxonomy_select_hierarchical until we release a new update.

    pournima99

    (@pournima99)

    Hello,

    I have changed files as described on Github. Worked for me! Many thanks.

    But, one bug I found that is,
    Location is added from frontend but it is not selected at backend when I edit property.

    See the screenshots.
    1.On property submission page
    https://prnt.sc/olv0j3

    2.My listing page (Here location “Mumbai” is missing above the Dadar title)
    https://prnt.sc/olv1g0

    3.When I edit property from backend nothing is selected. Beacuse of this when I searched from homepage for Mumbai location this listing is not showing.
    https://prnt.sc/olv3mq

    Also, I have 1 question search is working for “subcategories locations”?

    Please replay me.

    Thank you.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Can you provide all the code you’re adding for your CMB2 config? The parts used to output your forms, all the fields, and any parts being used to save the submitted data? Ideally we would be able to recreate this part of your setup on our own installs.

    pournima99

    (@pournima99)

    Can I share my FTP details with you? So you can check all things.
    Can your share your email id with me?
    Thank you.

    • This reply was modified 6 months ago by pournima99.
    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Don’t share those via the forum here. Instead for that part, contact support@pluginize.com and we can handle that part there.

    pournima99

    (@pournima99)

    Hello,

    Sent you an email.
    Please have a look.

    Thank you.

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Confirming receiving the email. We’ll see what we can do as soon as can be.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Need select dropdown in hierarchical order’ is closed to new replies.