Joe Dolson
Forum Replies Created
-
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Odd line breaksWell, it’s because of the CSS word-break and hyphen settings in My Calendar – although it is definitely an odd result, since there shouldn’t be any *need* to break those words or add hyphens based on the amount of available space.
You can override it, however, by adding custom CSS like this:
.entry-content .mc-main .event-title div {
hyphens: none;
}The submissions form is part of My Calendar Pro, and I can’t provide support for premium products in the free WordPress.org forums. However, please do submit a support request either via my website or via the support form inside My Calendar!
Thanks!
I’m curious what theme or plugin you’re using that might be triggering this. The function is run on the
the_postshook, which should generally only be run in cases where the query does exist.Can you check the call stack, so I can get a little more information about what’s triggering this?
This is the result of a common misunderstanding that I really need to put some time into clarifying in the user interface – but the preset templates don’t apply to the main list view. They apply to upcoming events lists as generated by widgets and shortcodes.
The main list view is part of a completely separate template stack.
The two views are different in a key way: the main view, with the grid and list views, is a list of *dates*, where the upcoming events views are lists of *events*.
There are only a few options for configuring the list view, which you can find at My Calendar > Settings > Display under “List Options”.
The logic would actually be “if this is a calendar event, use the My Calendar function for getting the event URL, otherwise use ‘get_permalink()’.
It is possible to edit the slug; you have to switch to the post. With pretty permalinks enabled, there’s a link in the event editor labeled ‘Edit Event Post’. That switches you to the default WordPress post editor, where you can edit the slug.
I don’t have a definite date, but probably this Sunday. It’s possible I’ll manage it tomorrow, but I don’t think it’s very likely, in which case it would be a few days.
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?