Joe Dolson
Forum Replies Created
-
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Calendar not displaying correctlyI am interested in knowing what’s preventing the styles from rendering, but knowing that you’re using Oxygen and Breakdance is very possibly enough to go on; I know that Oxygen does some unusual things, and Breakdance may, as well.
There’s a very good chance that the missing quote is causing the problem. Without seeing the page, I can’t really verify that, but there were a couple changes in how WordPress sanitize HTML content in WordPress 7, and it’s quite possible that they are impacting this. It looks like the HTML here would be rendered improperly, because it’s all embedded inside a parameter.
You’re using a legacy custom template, and I suggest reviewing your templates – they may need to be updated or migrated. Here’s some documentation on how to do that:
https://docs.joedolson.com/my-calendar/migrating-from-legacy-templates-to-php-templates/
Found the issue, and I have it fixed for the next release. Thank you for reporting!
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] How to style change list displayThere really aren’t any templates for modifying the larger structures of the plugin; all of the templates are for either individual event views or for the title field, in various places it is shown.
There are a number of different ways that the list view can be customized, but let me get a couple clarifications, first.
- When you say “date button” on the left, what is that expected to do? Are you looking for something that will show/hide the collection of event entries you want on the right?
- Where would you want the month heading to appear? The screenshot you shared doesn’t include the existing month heading, which is above the navigation. By default that says “Events in {date}”, but you can edit it to just contain the
{date}in the text settings for the Main Calendar view.
If #1 is what you’re looking for, then you want to choose the ‘Disclosure widget’ option for the list view at My Calendar > Design > Scripts, then you can do that customization using CSS, e.g.
.mc-list-date-wrapper > article {
display: grid;
grid-template-columns: 30% 1fr;
}(That’s just the barest framework for styling, but it does the basics of what you’re describing, although the trigger is the event, rather than the date..)
If you *don’t* want them to be hide/show enabled, then you can also go to My Calendar > Settings > Display, and uncheck all of the options under ‘List Options’, then use the same styles except applied to
li.mc-eventsli.mc-events {
display: grid;
grid-template-columns: 30% 1fr;
}That’s interesting. I wonder if there’s something in place that’s suppressing admin notices. It’s a pretty completely standard admin notice, so just “not showing up” is a bit unusual.
So this is really an issue with My Tickets. No need to move it, but I just want to note that it’s not an issue in My Calendar. It actually only occurs if you have permalinks enabled in the WordPress general permalink settings, but have them *disabled* in the My Calendar settings.
I’m not sure it’s something that makes sense for me to fix; there are a lot of reasons that using pretty permalinks for My Calendar is going to lead to a much better experience, in general.
I just tested with the same situation – an Editor with those five permissions, and it worked as I expected it to. So…not sure what to suggest! Is this something you’ve verified yourself as an Editor, or is it a report from other users?
If you haven’t verified it yourself, could you check it as an Editor to see if there’s any details that are missing about what the users are doing?
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Calendar not displaying correctlyThis looks like a caching issue; you seem to be using a plugin (possibly WP Optimize) that minifies your CSS, and it may need to be refreshed so that the styles include the My Calendar stylesheets.
That would make sense in combination with being able to see the styles when logged-in, since it’s common for optimization plugins not to run for logged-in users.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Customise entry on calendarDoes this document help you with knowing more about the templates?
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Customise entry on calendarNo question, the documentation can always stand to be expanded…I do what I can, but I always feel like I’m leaving that behind.
I’ll get the documentation for those updated and post here when I have.
There isn’t a list of variables available for category colors, because the names of those variables are generated based on the names of your categories. However, they follow a fairly predictable pattern (at least, in western languages) – e.g.,
var(--category-mc_general)is the class for the category with the name “General”. If you had a category like “Sports Days”, it would be--category-mc_sports-daysThey all follow the pattern “–category-mc_” followed by the slug-ified category name.
Forum: Reviews
In reply to: [My Calendar - Accessible Event Manager] Fantastic !Thank you! Glad it’s helping you out!
No, nothing has changed about that as far as I know. I just tested, and it appears as expected.
It is an optional configuration; if you don’t have it checked in the settings at My Calendar > Settings > Display for the ‘Single Event Popup’ option, then it won’t appear – is that unchecked for you?
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Customise entry on calendarWhat are you using as a template for the time? There are template options that handle that for you; if you’re doing something like {time} – {endtime}, that’s going to be trickier, though. I’d recommend using something like
timerangeAdding a pipe character before the title can be done in the title template at My Calendar > Settings > Display “Event title (grid)”, if that’s something you want.
The colored border will be a bit trickier. The default styles don’t apply category colors to borders, although all the classes and style variables are available so you could author custom CSS for that, e.g.
.mc-main .calendar .mc_general .event-title. { border-left: 4px solid var(--category-mc_general); }I may in the future add additional options for how to use category colors, but for the time being doing something with them other than the available options requires you to write your own CSS.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] MyCalendar display on mobileThere are a few different options for how to display the list view, adjustable at My Calendar > Settings > Display; they include options for showing more information.
The red ‘Delete’ link in the event row does not immediately delete the event; it asks for confirmation. At the top of the screen, there should be an alert that asks you to confirm deleting the event.