Forum Replies Created
-
AuthorPosts
-
March 11, 2016 at 11:55 am in reply to: Recurring pages not recognized as calendar pages – not fixed #1087899
Sean
ParticipantGeoff, can you please remove the link to my site in your above post ASAP? That is my staging server and I do not want it publicly available.
-
This reply was modified 10 years, 1 month ago by
Sean.
Sean
ParticipantOkay, no problem. Hopefully it can be fixed in one of the next couple releases this month. We’d love to update to the latest versions, but until this is fixed (all of our users are within the USA) we can’t update. While it’s a minor inconvenience, its not a usability item we want to “remove” for our Organizers given it works for us now and saved them time when submitting many events.
Sean
ParticipantHi again Geoff,
No worries. I should have specified that to begin with 🙂
In any case, glad you were able to reproduce and that the upcoming fix for the default content should fix this as well.
Enjoy your weekend!
KarlySean
ParticipantGreat, thanks for the good news Geoff!
March 11, 2016 at 10:46 am in reply to: Recurring pages not recognized as calendar pages – not fixed #1087844Sean
ParticipantHi Geoff,
Sorry, no workaround. I am actively doing some work on my staging site, so I no longer have the latest versions of the calendar plugins on staging.
If you know if the conditionals that apply for the “all” pages were changed in the latest version, please let me know what the new ones are, as that should provide a workaround.
These were the original conditionals, which no longer work on the latest version:
if ( tribe_is_recurring_event() && ! is_singular( ‘tribe_events’ ) ) { $sidebars = array( 'global' => '1', 'sidebar_1' => Avada()->settings->get( 'ec_sidebar' ), 'sidebar_2' => Avada()->settings->get( 'ec_sidebar_2' ), 'position' => Avada()->settings->get( 'ec_sidebar_pos' ), ); }Sean
ParticipantOkay sounds good George. Thanks again for the info and tips!
Best regards,
KarlySean
ParticipantGood afternoon George,
Thanks for your suggestion on the Javascript and for letting me know where the “Next and “Prev” files are! I tried searching for keywords in a folder/directory and it worked nicely. This was a feature I wasn’t aware of, so thank you for making me aware of it!
It looks like the code for the Find Events buttons is located in \the-events-calendar\src\views\modules\bar.php for the main search bar, while if I am using the Filter Bar with a horizontal alignment the code for that button is located in \the-events-calendar-filterbar\src\views\filter-bar\filter-view-horizontal.php
Would you be able to confirm if editing filter-view-horizontal.php will effect the Submit button not only on desktop, but also on the mobile layout?
Thanks again and best regards,
KarlySean
ParticipantThis reply is private.
Sean
ParticipantThanks Geoff!
March 10, 2016 at 11:25 am in reply to: Recurring pages not recognized as calendar pages – not fixed #1087342Sean
ParticipantPerhaps if the class of the “all” pages was changed, we can apply different values to achieve a workaround? Not sure what the new values should be?
March 10, 2016 at 11:14 am in reply to: Recurring pages not recognized as calendar pages – not fixed #1087337Sean
ParticipantThis reply is private.
Sean
ParticipantAh, success! Thank you so much George!
Sean
ParticipantHi Brian,
Thank you for the update and for increasing the priority of this bug. Disappointed it won’t be in this week’s release, but hopefully it can be included in one of the following two maintenance releases so it’ll be fixed by the end of March.
Thanks,
KarlySean
ParticipantGood morning George,
Thanks for your response and recommendation. I really appreciate you putting this Javascript snippet together! I tried it out and it does work perfectly for removing the Yearly option from the Recurrence Rules dropdown. The only other aspect of removing the annual recurrence option is removing Yearly from the Frequency dropdown. That can be accessed by choosing Custom from the Recurrence Rules dropdown.
What would be the best way to do that? Use a similar snippet to the one above (which I I was able to achieve using your snippet as a guide), or adding it within your snippet (something I’m not sure how to do)?
add_action( 'wp_footer', 'remove_yearly_recurrence_frequency_from_community_submit_page' ); function remove_yearly_recurrence_frequency_from_community_submit_page() { if ( ! tribe_is_community_edit_event_page() ) return; wp_enqueue_script( 'jquery' ); ?> <script type="text/javascript"> jQuery(window).load( function() { jQuery( '.custom-recurrence-frequency option[value="Yearly"]' ).remove(); }); </script> <?php }Thanks again,
KarlySean
ParticipantGood morning Geoff,
That works great! Sorry I missed that in my initial search but thank you for pointing me to the right place!
Best,
Karly -
This reply was modified 10 years, 1 month ago by
-
AuthorPosts
