Joe Dolson
Forum Replies Created
-
For the fatal error, it seems like you must have received an invalid install. Having an error on line 169 of
my-calendar.phpis part of the primary loading of the plugin – and is right in the middle of it. If there was an error in that code structure, it would have happened either much more often, or several lines earlier. So that would make sense with having a reinstall fix the problem.The second might have been an issue related to WordPress 7.0; what was the content of the
templateparameter? I think it’s possible that after WP 7.0, only templates containing a reference string will work, and not directly referenced templates. This is caused by some changes towp_kses_hair()in WordPress core which normalizes quotes in HTML; this breaks the My Calendar templates.I wrote a workaround to this in the template editor, but I can’t do anything about the cases that are written directly into post editors in shortcodes.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Locations Search Not WorkingThe Customizer is under Appearance > Customize. ‘Additional CSS’ is an option in the sidebar there. The Customizer is not part of Gutenberg or the block editor, and should be available for you.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] I’m not able to add an event anymoreMy apologies; it was a stupid error, and I missed it. It’s literally a missing space. Getting it fixed shortly.
My apologies; it was a stupid error, and I missed it. It’s literally a missing space. Getting it fixed shortly.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Events not PublishingMy apologies; it was a stupid error, and I missed it. It’s literally a missing space. Getting it fixed shortly.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Locations Search Not WorkingHere are some styles you can put in that might help get you closer to what you want:
.mc-main .event-title button {
display: grid !important;
}
.event-title button img {
width: 100%;
}
.event-title button > div > br:nth-of-type(1) {
display: none;
}You can place this in the Customizer at ‘Additional CSS’.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Locations Search Not WorkingDid you go in and make the changes I requested? If so, you may have a cache in place that needs to be cleared. Right now, the styles are fully disabled.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Locations Search Not WorkingOK.
- When you say “able to be resized, freely”, do you mean that you want your visiting users to be able to change the size of the image? How I hear this is “you want controls available so that these various factors can be adjusted.” I’m not sure *who* you want to allow to change these factors. The controls to do this don’t exist, so I’m trying to assess what your goal is.
- For the main calendar, when you say you want to show “icon for an event, city, and state”, do you mean the icon that My Calendar provides (a category icon related to the event), or do you mean the image that you uploaded to the event listing, which is currently seen on the page? Does “icon for an event, city and state” mean an icon representing the event, the city, and the state, or are those three separate pieces of information you want shown? Does this mean that you do *not* want the event title shown in that context?
For a start, I’m going to ask you to adjust a handful of settings from what you currently have. This is based on guesswork, so I may not guess correctly what your current settings are in all cases.
- Go to My Calendar > Design and select “None” from the theme selector, then click ‘Choose Style’.
- Uncheck the box ‘Disable styles’ and scroll down and click “Save Changes”.
I believe that your other settings are mostly what you need, but will need some custom CSS. However, it will make it much easier to tell and advise you if you make those two changes.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Locations Search Not WorkingCan you provide a detailed description of what you’re trying to do? I don’t honestly have a clear idea what you’re asking for.
- I don’t know what “set up the windows in the Main Calendar” means; please provide more detail.
- “Category icon/size placement and images” doesn’t tell me anything about *where* you’re trying to modify them. In the popup? In upcoming events lists? In the main calendar? On a single event page?
I can see that you’ve added images to your main calendar’s title field. That’s a customization, so yes, that will require custom CSS. You also appear to have disabled the My Calendar stylesheets, in which case you won’t find that any of the design settings have any impact.
Setting the event status is something I accidentally broke in the last release; that’s getting updated in a few minutes.
But the ‘Archived’ status is *only* intended to impact the admin side of the calendar – it’s purely a tool for moving things that you don’t expect to edit or need to manage in the future so that they’re out of the way. It’s not intended to have any impact on the front-end.
- Yes, that would be possible, I believe. My Tickets supports custom fields either associated with the Add to Cart form or with the Checkout form, and that should work for you one way or the other, depending on your specific use case. There’s no interface for adding these fields; it’s an API that requires some custom PHP. Examples here: https://github.com/joedolson/plugin-extensions/blob/master/my-tickets/my-ticket-custom-cart-fields.php and https://github.com/joedolson/plugin-extensions/blob/master/my-tickets/my-tickets-custom-fields.php
- That sounds trickier. My Tickets aligns completion with payments; when the payment is completed, the purchase is marked as completed. If you aren’t taking advance payment, then what you’re describing is the default – because you’d have to process a payment before the booking is finalized. But if you’re taking advance payment, then My Tickets doesn’t have a set up for that.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Empty ‘Upgrade Notes’ on Plugin pageForum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Empty ‘Upgrade Notes’ on Plugin pageI keep intending to deal with that, but keep forgetting about it…
It’s just because I have an empty ‘Upgrade Notice’ section in my readme.txt, and the code for handling that (which is also mine) isn’t paying attention to the fact that it’s empty.
Maybe I should fix it right now, while I’m thinking about it.
I think that this should be fixed in the latest release; but please let me know if not!
Forum: Plugins
In reply to: [WP Accessibility] Problem with Skip links in Twenty Twenty Four themeOn the main WP Accessibility settings screen, there’s a field for
toolbar location. That accepts an ID attribute for any element on the page, and will attach the toolbar to the element with that ID.Twenty Twenty Four makes this more difficult than necessary, because there aren’t really ID attributes on the page. I’ll have to think about that. I can give you the instructions for editing theme templates in the Site Editor, but they’re a bit involved:
Add ID to templates:
Open Site Editor: Navigate to Appearance > Editor in your WordPress dashboard.Select Template: Click on Templates and select all the templates you use (e.g.,
page.html,single.html, andindex.html).Edit Content Structure:
- Click the List View icon (three stacked lines) in the top-left corner to see the template structure.
- Locate the
<!-- wp:group -->or<!-- wp:post-content -->block that wraps your main content.
Add the ID:
- Select the block, click the three dots on the block toolbar, and choose Edit as HTML.
- Add the
idattribute directly into the HTML tag. For example:<main id="main-content" class="wp-block-group">
Save Changes: Click Save in the top-right corner