Forum Replies Created

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter marshallsam

    (@marshallsam)

    Hey isvei,

    The changes are in the general.php file located at public/template-tags/general.php. The code is around line 783 (not sure exactly as have modified the file before)

    The code in question is outlined below where the option has been changed to 2013
    instead of @:

    else {
    $schedule .= ‘<span class=”date-start dtstart”>’;
    $schedule .= tribe_get_start_date( $event, false, $format ) . ‘ 2013
    ‘ . tribe_get_start_date( $event, false, $timeFormat );
    $schedule .= ‘<span class=”value-title” title=”‘. $microformatStartFormat .'”></span>’;
    $schedule .= ‘</span> – ‘;
    $schedule .= ‘<span class=”date-end dtend”>’;
    $schedule .= tribe_get_end_date( $event, false, $format2ndday ) . ‘ 2013
    ‘ . tribe_get_end_date( $event, false, $timeFormat );
    $schedule .= ‘<span class=”value-title” title=”‘. $microformatEndFormat .'”></span>’;
    $schedule .= ‘</span>’;
    }

    } elseif ( tribe_event_is_all_day( $event ) ) { // all day event
    $schedule .= ‘<span class=”date-start dtstart”>’;
    $schedule .= tribe_get_start_date( $event, true, $format );
    $schedule .= ‘<span class=”value-title” title=”‘. $microformatStartFormat .'”></span>’;
    $schedule .= ‘</span>’;
    } else { // single day event
    if ( tribe_get_start_date( $event, false, ‘g:i A’ ) === tribe_get_end_date( $event, false, ‘g:i A’ ) ) { // Same start/end time
    $schedule .= ‘<span class=”date-start dtstart”>’;
    $schedule .= tribe_get_start_date( $event, false, $format ) . ‘ 2013
    ‘ . tribe_get_start_date( $event, false, $timeFormat );
    $schedule .= ‘<span class=”value-title” title=”‘. $microformatStartFormat .'”></span>’;
    $schedule .= ‘</span>’;
    } else { // defined start/end time
    $schedule .= ‘<span class=”date-start dtstart”>’;
    $schedule .= tribe_get_start_date( $event, false, $format ) . ‘ 2013
    ‘ . tribe_get_start_date( $event, false, $timeFormat );
    $schedule .= ‘<span class=”value-title” title=”‘. $microformatStartFormat .'”></span>’;
    $schedule .= ‘</span> – ‘;
    $schedule .= ‘<span class=”end-time dtend”>’;
    $schedule .= tribe_get_end_date( $event, false, $timeFormat ) . ‘<span class=”value-title” title=”‘. $microformatEndFormat .'”></span>’;
    $schedule .= ‘</span>’;
    }
    }

    I hope this helps if not let me know.

    Regards,

    Sam

    Thread Starter marshallsam

    (@marshallsam)

    Hi,

    I have resolved the above issue, by adjusting the code within the general.php file to remove the @. I have now purchased the PRO version of the software for the client however wondered if it was possible to restrict the “day of” filter (Day view) to a selected range and also set the default “day of” filter” when the visitor goes into events as my client is running a weekend event and would like the saturday events to appear first.

    Thank you in advance

    Sam

    Thread Starter marshallsam

    (@marshallsam)

    Hi,

    Thank you, I deactivated all of the plugins and isolated it to a search engine plugin however with some minor setting changes it works fine. Any idea on the release of 3.0 as it looks good and think it would be beneficial for my client?

    Thanks

    Sam

    Thread Starter marshallsam

    (@marshallsam)

    Hi Roblagatta,

    I am the administrator of the site and I am running 3.4.2 wordpress. The plugin version is version 2.0.9

    Thanks

    Sam

Viewing 4 replies - 16 through 19 (of 19 total)