• Resolved adamt19

    (@adamt19)


    list config
    pattern: ^experiences/?$
    test url: /experiences (finds 23 records`
    table name Experiences
    field for post name experiences
    field for post title Experiences
    map to page experience-list

    experience list page code:

    [apr_populate field="Hosting" relatedTo="People"]
    [apr_loop]
    <div style='padding: 40px;margin: 40px;border: 1px solid #CCCCCC'>
    {{Name}}
    
    <a href="/experiences/{{record_id}}">View {{Name}} by {{Experiences|Hosting}}</a>
    </div>
    [/apr_loop]

    experience template page code

    [apr field="Name"]
    [apr field="Description"]

    experience item config
    pattern ^experiences/([^/]+)/?$
    test experiences/recwPWh7hi5bRgfo8 (1 record found)
    filter RECORD_ID() = '$1'
    table name Experiences
    field for slug Slug
    field for title Name
    map to experience-template

    In air table, my table name is Experiences, the unique column is Name, and I have a single line text Slug field with a slug populated. I also have Hosting column which links to a People table.

    When i visit /experiences, I get no data.

    Chet – any advice? Thx!

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter adamt19

    (@adamt19)

    https://www.meetmindful.com/experiences/recwPWh7hi5bRgfo8 doesn’t work despite the config being able to find it.

    Thread Starter adamt19

    (@adamt19)

    Also, using WPEngine.. virtual post configs won’t delete, and often don’t save changes. Probably another thread and I think it’s a caching issue but it makes saving changes absolutely maddening. I have to watch wp_options to make sure they took.

    • This reply was modified 6 years, 1 month ago by adamt19.
    Thread Starter adamt19

    (@adamt19)

    I have this working on a completely different install (swellist.co/experiences) but for some reason the /experiences path on my meetmindful.com/ install will not respect the pattern. The configs are identical.

    What would cause the route to ignore the pattern intercept set by this plugin?

    Plugin Author Chester McLaughlin

    (@chetmac)

    WP Engine is most likely the cause of the problem.

    They are NOT very transparent with exactly how their caching works which makes it hard to troubleshoot. Try disabling Object Caching and see if that fixes anything.

    Plugin Author Chester McLaughlin

    (@chetmac)

    If you send me your contact info via https://chetmac.com/contact/ I’ll get back to you with a Screenshare link so we can quickly walk through the issues together.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Virtual Posts: Config finds records, but page won’t display them’ is closed to new replies.