Ulli

Forum Replies Created

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • Ulli
    Participant

    Ops, 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…

    Ulli
    Participant

    I 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.
    Greetings

    Ulli
    Participant

    I 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.

    in reply to: Unable to edit series #64842
    Ulli
    Participant

    Found something in the meanwhile we can try:
    https://theeventscalendar.com/recurring-events-dialog-fix/

    in reply to: Unable to edit series #64841
    Ulli
    Participant

    I have the same issue. The dialog is below that other layer, hence you can’t click anything.

    View post on imgur.com

    Ulli
    Participant

    I 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?

    Ulli
    Participant

    I 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.

    in reply to: New The Event Calendar PRO #24868
    Ulli
    Participant

    You need to update both plugins (the-events-calendar, events-calendar-pro).

    in reply to: [Bug report] TribeEvents::uglyLink() missing ‘day’ #18261
    Ulli
    Participant

    I 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.

    in reply to: [Bug report] TribeEvents::uglyLink() missing ‘day’ #18229
    Ulli
    Participant

    Make that tribe_get_day_link($date) sorry, 5AM here and not enough coffee yet. 🙂

    in reply to: [Bug report] TribeEvents::uglyLink() missing ‘day’ #18228
    Ulli
    Participant

    Oops, it didn’t escape that HTML part from my table-mini.php line.
    I just call tribe_get_day_link($day) there.

    in reply to: [Bug report] TribeEvents::uglyLink() missing ‘day’ #18227
    Ulli
    Participant

    I 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.

Viewing 12 posts - 1 through 12 (of 12 total)