Forum Replies Created
-
AuthorPosts
-
mgmg
ParticipantThanks for your reply.
In terms of the days/months mixup, after I cound this: $this->daysOfWeekShort = Tribe__Date_Utils::get_localized_months_short(); which seems incorrect in the /plugins/the-events-calendar/src/Tribe/Main.php file I just updated it (replacing months with days) and it works.
But maybe this should be updated in your files so when people download and update they have the correct code.
I just checked the map issue and it looks like the map is now showing… really weird – I didn’t make any changes but it’s now back so I’m happy.
The one remaining error is the << and >> links in the mini cal widget, they link to [website].com/# and they don’t operate to show the previous and future months.
Do you have any idea about this?
mgmg
ParticipantReally would appreciate your help in what seems to be a bug. It’s been almost 3 weeks since your reply and when I email I’m told to leave a message in your support forum… but no response here 🙁
mgmg
ParticipantAny update on this? Appreciate your help.
mgmg
ParticipantPlease can you advise about the update and a fix for my other issue “<<” and “>>” links not working on the mini calendar, plus Google Maps still are not showing.
mgmg
ParticipantI think you should also update this thread: https://theeventscalendar.com/support/forums/topic/months-are-displaying-instead-of-days-in-calendar/
It isn’t custom code but the following error with Tribe code:
The bug is located in …/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Main.phpon line 2177 $this->daysOfWeekShort = Tribe__Date_Utils::get_localized_months_short();
This should reference days of weekdays, not months.
Still need my previous and next links issues solving as described above.
mgmg
ParticipantAlso please don’t forget my other issue:
But I also have issues with the link images to previous month and next month, either side of where it says March at the top of the mini calendar in the sidebar… (links not working)
<?php tribe_events_the_mini_calendar_prev_link() ?>
<span id=”tribe-mini-calendar-month”><?php tribe_events_the_mini_calendar_title() ?></span>
<?php tribe_events_the_mini_calendar_next_link() ?>All the issues seem to be coming from the mini cal not the main events plugin.
mgmg
ParticipantI have been searching the web and others are having similar problems:
tribe_events_get_days_of_week returns months, not days of week
It seems that this is an error and if so please can you provide the updates. For someone like me who isn’t great with code, I can do the manual updates, but then the auto update happens and sometimes causes other errors, so it’s better if you guys fix your errors so my fixes don’t complicate things…
mgmg
ParticipantI can manually fix the days by using this:
<!– comment out foreach start –>
<?php //foreach($days_of_week as $day) : ?>
<!– <th class=”tribe-mini-calendar-dayofweek”><?php echo $day ?></th> –><!– Added the following to fix days –>
<th class=”tribe-mini-calendar-dayofweek”>M</th>
<th class=”tribe-mini-calendar-dayofweek”>T</th>
<th class=”tribe-mini-calendar-dayofweek”>W</th>
<th class=”tribe-mini-calendar-dayofweek”>T</th>
<th class=”tribe-mini-calendar-dayofweek”>F</th>
<th class=”tribe-mini-calendar-dayofweek”>S</th>
<th class=”tribe-mini-calendar-dayofweek”>S</th><!– comment out foreach end –>
<?php //endforeach; ?>But I also have issues with the link images to previous month and next month, either side of where it says March at the top of the mini calendar in the sidebar… (links not working)
<?php tribe_events_the_mini_calendar_prev_link() ?>
<span id=”tribe-mini-calendar-month”><?php tribe_events_the_mini_calendar_title() ?></span>
<?php tribe_events_the_mini_calendar_next_link() ?>All the issues seem to be coming from the mini cal not the main events plugin.
mgmg
ParticipantYes so when I switch to the 2017 theme the Days are showing and not the months… All was fine though with the old theme. Do you know what might be switching months in for $day??
Where would the theme be creating this variable and using the wrong definitions… so weird…
Thanks for any guidance.
mgmg
ParticipantAnyone else having this same problem? Or know of a fix?
mgmg
ParticipantPurchasing separately will not give me the 30% off discount though !?
mgmg
ParticipantGeoff – you’re the best!
This helped me figure it out and make some other changes i needed. Thanks again for taking to respond so quickly.
Matt
mgmg
ParticipantI resolved the issue with the filterbar… some other js was interfering. but I still have the problem with pagination being affected when I activate TEC (as described above)! Please advise
Also if I want to change the events calendar widget that’s in my sidebar to be brighter colors…. say from the #666666 gray to a red, what’s the easiest way to do this… there are so many files I don’t know which css file to edit.
Thanks
-
AuthorPosts
