sirenAri
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] Some Events in Feed WrongDo you have the time zone set up correctly on your calendars? I think I read the developer mention in another topic that there might be a glitch currently with the “use calendar setting” option. Just in case, I ended up setting all of my time-zones manually and I haven’t had this problem yet.
Hope this helps!
~Ari
You might want to post what you have in your event templates. This will help us narrow this down. For the time being:
Do you have a [title] tag in your event template? If not, that might be the problem with it just showing “Event.” I don’t know how it’s coded, but I would assume that’s just a fail-safe just in case the [title] tag was left out.
I’m also curious how your [link] tag is formatted or if you just created a custom link (through WordPress). The correct format would be
[link]See more details[/link]
.You should take a glance at the official documentation for the event templates for details: https://docs.simplecalendar.io/event-template-tags/
Hope that helps!
~Ari
Forum: Plugins
In reply to: [Simple Calendar - Google Calendar Plugin] 3.0 html support and stylingI found the default list view to have huge amounts of unnecessary space as well for my application. Here’s the CSS I added to my header to fix the issue:
.simcal-default-calendar-list dt.simcal-day-label { margin-top: 5px; } .simcal-default-calendar-list { padding-top: 5px; }
Note though that I actually wanted a little bit of space between the events anyways so I left some. You can change those to 0px each and that should remove all of the spacing. You can see how this made mine turn out (bottom-left of the page) at https://windsor.k12.mo.us/.
The compact list as well wasn’t very compact with all of the unnecessary space too, so here’s my fix for that as well (still not space-less though):
.simcal-calendar-list-compact ul.simcal-events { margin: 0px; } .simcal-calendar-list-compact ul.simcal-events li.simcal-event { margin-bottom: 0px; }
As for fixing the large, blocky date headers, you can make them slightly less blocky by adding (I’ve not tried this myself though):
.simcal-default-calendar-list dt.simcal-day-label { margin: 0px; }
But there’s no current way of removing the coloring or underline from the date. You could try setting the colors to the same as your background in your calendar setup though. That might make it look as you were wanting.
Hope that helps!
~Ari
Looking at my own calendar’s source, it looks like this would be the correct css now:
.simcal-events-calendar-1672 {background:#FAD165;}
.simcal-events-calendar-1673 {background:#16A765;}
.simcal-events-calendar-1674 {background:#accef5;}I haven’t tried this myself, but that should work for you.
~Ari
Looks like it might be the plugin Role Scoper. Now I’m looking into getting rid of those silly extra sections that Role Scoper adds to the calendar “posts” since I think that’s what the problem is.
Both issues above were solved by disabling the Role Scoper plugin. Sadly that means I can’t use this plugin until I figure out what I need to edit in Role Scoper since our site is using Role Scoper as a sort of CMS and I can’t just get rid of it.
Anyways, just wanted to put this here so you know it’s fixed and in case anyone else has the same issue.
~Ari
Forum: Plugins
In reply to: [List category posts] Notice: Undefined index error with DebugNot exactly. I still have pretty much the same errors just at different line numbers:
LCP Version 0.48
Notice: Undefined index: customfield_display in ...\[my-theme-folder]\list-category-posts\default.php on line 71 Notice: Undefined index: customfield_display in ...\list-category-posts\include\CatList.php on line 367
I did replace the default template in my theme with the one included in your plugin.
Picandocodigo, after looking at the code a bit and looking a few things up on WordPress itself I’m not entirely sure this is something you can fix. It seems that if people (like myself) aren’t using custom fields WordPress isn’t set up to set that param to an empty string. I could be wrong, but this seems to be the case.
Thank you so much for this plugin and for trying to work through this issue. As I said, I really think it’s a WordPress issue that, who knows, might be fixed in a future version.
To anyone else trying to test out their custom plugin or theme and getting this issue, comment out the line in the default template that has to do with the customfield_display param. This eliminates both errors so you can test out your plugin or theme without displaying these problems.
Thanks again!
~Ari
Forum: Plugins
In reply to: [List category posts] Notice: Undefined index error with DebugSorry for jumping in with more errors. If I should make a new topic instead, please let me know.
I’m using the newest version (0.46.4) and in my testing (debug) instance I get these errors when using the widget to show all post titles in the current post’s category.
Notice: Undefined index: customfield_display in ...\list-category-posts\templates\default.php on line 71 Notice: Undefined index: customfield_display in ...\list-category-posts\include\CatList.php on line 335
Thanks!