Joe Dolson
Forum Replies Created
-
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Incorrect Calendar styleSounds like caching; how is it if you view with a different browser?
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] How to remove “Events in x-month”- Go to My Calendar > Settings > Text and change the setting or “Calendar month heading”
- You can add custom styles; go to Appearance > Customize > Additional CSS and add something like
.mc-main h3.event-title { font-weight: 400; }
Forum: Plugins
In reply to: [XPoster - Share to Bluesky and Mastodon] Client Forbidden 403Is this site older than the others, and you’re migrating the settings from an older app? That can sometimes make things trickier.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Time Zone GeolocationWhat’s the context you’re using it in? It requires the My Calendar core JS be active, so if you have that deactivated or limited, it might not work in all scenarios. A link would help.
Honestly, there’s nothing that I’m aware of that’s different between 3.5.6 and 3.5.7 that I would expect to create this difference. 3.5.7 and 3.5.8 only contain minor bug fixes, and I can’t see any reason that would make a difference.
It seems very much to me like a caching issue, but I have no idea why you’d be getting the difference you’re getting between the two versions.
If it’s a caching issue, I’d expect it to be a caching issue on your site, not in your browser. Are you using any caching plugins?
If you go to the Advanced screen of any plugin page, you can download past versions there.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Show message if no eventThat’s the default text, but it’s the internal content of the shortcode. If you use a containing shortcode, you can customize the text. E.g.
[my_calendar]This is the text I want to show[/my_calendar]In the block editor, if you place a second shortcode block after the My Calendar shortcode with
[/my_calendar], then anything in between the two blocks will be shown when there are no events.(Update the plugin first; in answering this question, I discovered that I’d broken this at some point in the past, and I restored it in the latest update.)
Looks like you’ve updated things, and now have a functioning calendar.
It’s a problem with your theme. In version 3.5, My Calendar modernized its HTML to use
articleandheaderto structure event details. This is a standard way of structuring content in HTML. Your theme has custom styles attached to theheaderelement that’s fixing it to a specific position on the page.This is a poor usage by the theme, because targeting the
headerelement without any specificity only works if there are never going to be any otherheaderelements on the page.I don’t really have a fix for this; you can revert to My Calendar 3.4.24, or you can contact the theme developer and ask them to improve their code that targets the header positioning so that it is more specific.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Open External Links in New WindowIf you switch to PHP templating, then you can use logic in templates. See https://docs.joedolson.com/my-calendar/php-templates/
The string templates have limited logic; the PHP templates support any logic you can work out in PHP. So they’re much more sophisticated.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Time Zone GeolocationYes; you can use the template tag
{userstart}to display the time in a format that’s rendered into the current user’s local time. It’s not the most sophisticated pattern for displaying that time, but it includes some structured HTML to hopefully enable you to style it as you need.If you look further down in your custom CSS, you’ll see a separate line:
div#main-content { background: transparent !IMPORTANT;}That line overrides the one I had you add. I don’t know if it’s necessary; you could try removing it – I don’t know what it’s supposed to be doing. You could also move the line I provided so that it’s after that one; you’ll also need to add !important into the line I gave you, since that declaration will otherwise override what I gave you regardless of position.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Going to other Months result to 404I responded to your other request, as well, but here’s the answer I gave in that thread:
That’s interesting. I’m not sure what would be causing that – the URLs all look right, but it simply gives a 404 if there are any date-related URL parameters present. It *does* work, however, if there are category parameters only (e.g. https://gctcstaging1.leapfroggerwebsites.com.au/my-calendar/?mcat=3).
That suggests the possibility of a plugin conflict with the URL parameters; something else using
yrormonth. I can see that you have a couple of other calendar plugins installed; if those are disabled, does the same problem happen?That’s definitely not a known issue. Can you share a link? It sounds somewhat like a caching issue; but I don’t know why that would be a problem with 3.5.7 and not with 3.5.6.
th.fri,td.ven { display: none; }I can see that’s a bit unexpected, because the selector on the
tdis translated and the one on thethis not. That’s probably a bug I should address…