Hi,
It shouldn’t make any difference where it goes but putting it at the end should be fine.
Can you explain what’s not happening? Then we can probably work out why these constants are being ignored.
Hi,
so I put the two constants at the bottom and went into settings–>formatting and was editing the “Default event list format”.
For example,
{logged_in}{has_bookings}content{/has_bookings}{/logged_in}
displays a blank screen
{has_bookings}content{/has_bookings}
displays “content”
As for the ajax constant, my pagination/search button is loading a new page each time instead of refreshing (like shown on your demo page).
What happens if you test with:
{logged_in}
logged in
{has_bookings} content {/has_bookings}
{/logged_in}
Can you post a link to your AJAX page?
With that code, it just displays logged in.
http://uclacki.org/events/event-sign-ups/
did you mean the ‘Quick Signup’ section on the link above?
The Quick signup part is where I’m trying to do the recursion with the {logged_in}
I want that page to have ajax (the search and pagination)
If only “logged in” is being displayed using the test code above, it could indicate the booking date has passed for the event (check the ticket availability dates on the Add / Edit Event page), or that bookings are not enabled on that event for some reason.
On the AJAX issue, is /event-sign-ups/ set as your main events page in the settings?
I don’t think the booking date is the problem because if I don’t nest the conditions, the {has_booking}content{/has_booking} works just fine.
Yes, the event-sign-ups is set up as my main events page
any reason why the event sign ups page isn’t AJAX?
is there another way I can manually set AJAX/recursion other than the wp-config way?
Any help would be appreciated.
Thank you
hmm, did you mean when using the search form under http://uclacki.org/events/event-sign-ups/ ? or when you are booking an event under single events page?
using the search form and pagination.
maybe you can try conditional placeholder {bookings_open}content{/bookings_open} or {bookings_closed}content{/bookings_closed}