Forum Replies Created
-
AuthorPosts
-
seanParticipant
Hey Brook,
Thanks for sharing that other option. I tried your snippet and it does work, but since it changes “Upcoming Events” everywhere on the calendar (List View, etc) it unfortunately won’t be one that I can use (I only want to remove “Upcoming Events” from the single page titles). However, I do appreciate you (both) going above and beyond to provide these snippets, as I understand it is beyond the scope of your support and that you aren’t able to do that on a regular basis.
With that said, I am still unclear as to why the first function is not working on my clean install (2012 theme and only “out of the box” TEC plugins activated). It should be altering the page title on the single event pages, correct?
Thanks again,
SeanseanParticipantThis reply is private.
seanParticipantThanks for retesting Brian. I’ll need to dig deeper and try to determine what is preventing the title from being replaced. Appreciate the suggestions.
seanParticipantLooks like I may have jumped the gun Brian.
I tried using the filter that you had provided but it didn’t remove “Upcoming Events” from the single event page titles. So I tried seeing if any text would replace “Upcoming Events ” or “Upcoming Events |” but I had no luck there either: http://pastebin.com/2JFQ1kZV
Using your filter and changing “return $title_filter” to “return $new_title” did display only the event title on single event pages, but obviously caused all other page titles to be blank.
I’m sure I must be doing something wrong at the most basic level…I’m using str_replace in other filters to successfully replace text elsewhere on my site. So I’m stumped as to why this isn’t removing the text from the single event pages:
$title_filter = str_replace('Upcoming Events ', '', $title_filter);
seanParticipantThanks Brian! This definitely helps me better understand how to create this type of filter. I was able to make a slight modification to get only the event title displaying. Appreciate the quick response and for lesson on how to do this!
October 16, 2014 at 6:45 am in reply to: Recurring events bugs: Can’t be changed to non-recurring; fields can be blank #814109seanParticipantThank you very much Barry. This looks like it will act as a usable workaround until a permanent fix is released. I appreciate your help with this!
October 14, 2014 at 12:17 pm in reply to: Recurring events bugs: Can’t be changed to non-recurring; fields can be blank #810834seanParticipantThanks Barry. That does work for hiding the “On” dropdown, but the input field after that remains the date field when “After” is the new default value for the dropdown (should be the numeric field with “1” as the placeholder). Changing the dropdown to “never” and then back to “after” does have the correct input displayed. How can I get that showing when the dropdown initially shows “After”?
October 13, 2014 at 1:32 pm in reply to: Recurring events bugs: Can’t be changed to non-recurring; fields can be blank #808229seanParticipantThanks Barry.
I was thinking…perhaps a workaround in the meantime would be to hide the “On” option from the 2nd dropdown in the recurrence section (the dropdown that includes On, After, and Never). That would force our users to choose “After”, which by default has a “1” in the input field, or “Never”, which has no input option. It would thus eliminate the possibility of them leaving the date input blank, which as we know is what’s happening when they go with the End “On” option.
Would it be possible for you guys to provide a function/filter that accomplishes this? It’d be appreciated, as my gut tells me that it would provide a useful workaround for these two issues until a permanent fix can be released further down the line.
Thanks,
SeanOctober 10, 2014 at 12:38 pm in reply to: Recurring events bugs: Can’t be changed to non-recurring; fields can be blank #801377seanParticipantThanks for logging these issues Barry. Much appreciated.
With regards to how often we are dealing with this, it actually is an issue that’s coming up on a a near-daily basis for us. Our event calendar is for endurance events, so a large amount of the races we have submitted by our clients are annual events. Unfortunately, some clients are selecting “every year” from the dropdown and are not catching that they need to enter an end date. Or in many cases, the client should NOT have set it as a recurring event if they’ve entered event details that are specific to the current year (since they wouldn’t apply to the following year). Both of these obviously lead to extra work on our end, especially when we are unable to remove the recurrence for an event.
Thus far we’ve been recreating the event with our account and changing the author to the client, and then deleting the original listing which was incorrectly set as a recurring event. So you can see how just a dozen of those per week would quickly add up in lost time.
I hope this helps give you a better understanding of how these are impacting us. Thanks again for your assistance.
Sean
seanParticipantThis reply is private.
-
AuthorPosts