• Resolved ageingdj

    (@ageingdj)


    HI there,
    I hope everyone is well.
    A simple thing (I thought):
    (I’m a photographer and part of my income is shooting models, I can’t provide a link or the ladies will damage me!)
    I have two pods model_records which is HR table storing things like name, phone email and ID photo.
    Second pod is modelshoot and is a record of each time I work with a model. It has three fields: shootmodel (models name, related to model_records to produce a drop down), shootdate and shootgallery.
    The third pod is a summary with two fields: summaryname(dropdown generated from modelshoot) & shootdate (dropdown generated from shootmodel)
    It then shows related details for the relative model and shoot details via a template “Model Summary Template
    All of which work a treat BUT I can’t figure out how to have the input dropdowns AND the results on the same screen – there must be a simple answer (pop-up?) I can’t figure it out.
    The very basic template:

    <h1>Model Name: {@summaryname.model_name}<br> <img src="{@summaryname.model_photo._src}" align="right">
    Phone: {@summaryname.model_phone}<br>
    E-Mail: {@summaryname.model_email}<br><br><br><br><br>
    Shoot Details:<br>
    Date: {@summaryshootdates.shootdate}</h1><br>
    {@summaryshootdates.shootgallery}
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ageingdj

    (@ageingdj)

    Sorry, my bolds & italics got a bit confused!

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hello @ageingdj

    I think you are referring to AJAX. Normally, user input always required a reload of the page where the input is processed. With JS you can overcome this by using AJAX to submit and fetch data from the server.
    This is however not part of Pods and this out of scope for support.

    Cheers, Jory

    Thread Starter ageingdj

    (@ageingdj)

    Hi Jory,
    Thanks for this but it’s gone waaay over my head!
    I’m not a coder and don’t know the first thing about AJAX but it seems daft that when you select a new name or date from a dropdown you have to leave that page to view the results.
    Is it possible to get the result of a Pods Template onto a Gutenberg block or a popup?
    Paul

    Plugin Author Jory Hogeveen

    (@keraweb)

    I’m not a coder and don’t know the first thing about AJAX but it seems daft that when you select a new name or date from a dropdown you have to leave that page to view the results.

    I understand but in that case I’d advice you to hire a developer.

    Is it possible to get the result of a Pods Template onto a Gutenberg block or a popup?

    As long as the gutenberg block/popup supports shortcodes you can add a Pod shortcode in the content of this block or popup.

    Groeten, Jory

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘drop downs to show’ is closed to new replies.