Forum Replies Created
-
AuthorPosts
-
November 22, 2013 at 2:26 am in reply to: Problem with Update and display Calendar without events listed under Calender #78009
Ulli
ParticipantOps, forum ate my code. To comment the line you can put two slashes in front of tribe_get_template_part… so it looks like this:
…php //tribe_get_template_part…November 22, 2013 at 2:16 am in reply to: Problem with Update and display Calendar without events listed under Calender #78006Ulli
ParticipantI tested it with all plugins disabled but the two calendar plugins and i can not get rid of this problem, even under different themes.
Symptoms:
When you put the value 0 there in the widget option (count), it shows 10 regular posts which are not events. When you put a number > 0 there it lists events. It seems the loop which produces the list is just called without any further checks.Polly:
At the moment i can only offer you a workaround, till this can be fixed properly.– Workaround to disable the list completely (No real fix) –
* In your current theme directory create this directory structure:
tribe-events/widgets/
* Copy “wp-content/plugins/events-calendar-pro/views/pro/widgets/mini-calendar-widget.php” into the previously created “tribe-events/widgets/” directory within your theme.
* Remove or comment line 29 where the template part for the list is being called. To comment the code you can do the following:I don’t have the time at the moment to look for a better solution.
GreetingsNovember 22, 2013 at 1:31 am in reply to: Problem with Update and display Calendar without events listed under Calender #78005Ulli
ParticipantI just updated to 3.2 and I have the same issue now. It looks like the widget is ignoring the setting 0, which was working before.
Ulli
ParticipantFound something in the meanwhile we can try:
https://theeventscalendar.com/recurring-events-dialog-fix/Ulli
ParticipantI have the same issue. The dialog is below that other layer, hence you can’t click anything.
August 8, 2013 at 4:41 am in reply to: Ajax Next Pervious nav not working on mini calendar widget #59463Ulli
ParticipantI see this didn’t get fixed yet as there is still the spinning wheel of death on your site, which i also happen to have on my events page. Have you found anything yet?
August 8, 2013 at 4:29 am in reply to: Debug mode always on and Monthly Calendar AJAX pager even though AJAX off #59458Ulli
ParticipantI am also interessted in disabling Ajax for the prev/next links in the lists view and mini calendar widget, because they don’t work for me at all. It just never stops spinning and doesn’t update anything.
Ulli
ParticipantYou need to update both plugins (the-events-calendar, events-calendar-pro).
Ulli
ParticipantI do something similar like that Jonah, but as i tried to describe, tribe_get_day_link($date) is broken when you have no permalink structure set and use normal URL parameters. TribeEvents::uglyLink() does not know how to create a ‘day’ link.
Ulli
ParticipantMake that tribe_get_day_link($date) sorry, 5AM here and not enough coffee yet. 🙂
Ulli
ParticipantOops, it didn’t escape that HTML part from my table-mini.php line.
I just call tribe_get_day_link($day) there.Ulli
ParticipantI wanted the day in the calendar widget to be clickable, but the link i got from functions like tribe_get_day_link() or tribe_get_linked_day() never had any date part in the returned URL, only ‘?post_type=tribe_events’
In my table-mini.php:
$return .= ( count($monthView[$day]) ) ? “$day” : $day;The $date i generate via date(‘d.m.Y’, …) from parameters passed to tribe_mini_display_day() and is valid for that day, e.g. ‘02.04.2012’.
tribe_get_day_link() calls getLink(‘day’, $date) in class TribeEvents, which has a check for permalink structure, either calling uglyLink($type, $secondary) or running a switch-case statement for $type. That switch statement has ‘day’ as option. But in my case it calls uglyLink which also has a switch-case but is lacking that ‘day’ option.
So i added this to the switch-case in uglyLink() to get it working:
case ‘day’:
$day = add_query_arg( array( ‘eventDisplay’ => ‘day’), $eventUrl );
if ( $secondary )
$day = add_query_arg( array( ‘eventDate’ => $secondary ), $day );
return $day;Hope that helped a bit.
-
AuthorPosts
