Forum Replies Created
-
AuthorPosts
-
September 19, 2016 at 7:49 am in reply to: Changing view removes all but 1 filter selection #1165843Jesse SimmersParticipant
I understand.
Thanks for the extension, you rock!
Jesse SimmersParticipantThank you, Nico!
We are getting closer… For testing I removed all of my custom functions except what you provided above and disabled all of my custom templates. Running latest of all plugins.
If I leave name and email blank I get the message ‘Event Organizer is required’, perfect! But if I fill in name OR email (not both) then the form submits and proceeds to the confirmation page. Then on the confirmation page it says ‘Event Organizer is required’ below ‘Event submitted’. If I fill in both name and email and submit and event then it will proceed to the confirmation page and the message ‘Event Organizer is required’ is NOT shown.
So it looks like the confirmation page knows both fields should be filled out but the form is only requiring one field to proceed.
Jesse SimmersParticipantI would like to require at least 1 organizer with a name and email address. Both fields should be required and if left empty a message will be displayed upon submission.
Jesse SimmersParticipantThanks for the response!
With or without my customization it does not work so lets completely disregard my customization and see if we can get it working. I agree the date required should work out of the box without other customization but it does not, at least for me.
Here is a scenario…. Lets say I have a completely unmodified submission form. The only customization is the function in my previous post (the out of the box one for required fields). In theory all fields mentioned in my function should be required and throw an error if those fields are empty when the form is submitted.
If I scroll to the bottom of the form and click submit I get a message that says all of those fields are required but it does not say start and end date are required. This is most likely because those fields are not empty. So I go ahead and remove all text from the date fields and click submit but still no required message regarding dates.
There is no customization outside of the documentation in this scenario so my thoughts are that if the date required message is not coming up at all then it’s a bug. If it’s not a bug then the documentation is incorrect.
Are you able to trigger the date required message in a test environment on your end?
Jesse SimmersParticipantCopying and pasting the first function provided on that page DOES work for all the fields I need without customization with the exception of the start and end date. I am using the following and it works just fine with the exception of the event start and end date. The page mentions certain fields can’t be required using the above approach but the date fields are not included.
https://gist.github.com/jcsimmers/bcaf70274ad2bf3b8dfad03d158aeac3
Jesse SimmersParticipantBeautiful, thank you!
March 18, 2016 at 1:59 pm in reply to: How can I place a number of pages on the Next and Previous links? #1091195Jesse SimmersParticipantThis works great if you aren’t using the filters plugin.
If I go to my main event list page I see that I have 14 pages and pagination works as expected. I then select a filter (I have category and taxonomy filters shown) and the page reloads with the filtered events. I see that the filter modified the URL to include my selections like so:
/?tribe_paged=1&tribe_event_display=&tribe_eventcategory%5B%5D=36&tribe_tags%5B%5D=5
I scroll down and see that I now only have 5 pages so it appears to have worked BUT clicking “2” or “Next” takes me to /?tribe_paged=2 which completely removes my filters from the URL.
If I don’t click “2” or “Next” and just refresh the page it will reload the same page with my filters still in the URL but NOW the pagination links include my filters and work exactly as they should. If I modify my filters I have to go through the process again of refreshing the page for the links in the pagination to include my filters.
I am thinking this has to do with the AJAX loading since the URLs for the pagination are already set and the filters only update the events shown.
How would I go about including taxonomies and categories in the pagination URL?
Jesse SimmersParticipantHere is a video showing the issue:
https://www.dropbox.com/s/ealt34cc9kt7om8/Recording.mp4?dl=0I have tried Chrome on both PC and Mac and got this result. All extensions disabled.
Jesse SimmersParticipantI am in the same boat. I need to make changes to the markup of the fields but this file doesn’t seem to be used and I cannot find the file with the fields anywhere.
If they give us the option to modify the venue then why can’t we edit the organizer? If they really didn’t want anyone editing the organizer fields then why even bother having organizer-fields.php in the first place? So many users would assume they can modify this file using the Themer’s Guide, only to find it doesn’t work.
To me this isn’t a customization request, it’s a bug.
-
AuthorPosts