[EventCalendar] removing time
Cove Schneider
covecs at gmail.com
Tue Jun 27 16:29:43 UTC 2006
Here's what I did...
In the function ec3_get_events() in eventcalendar3.php:
Look for this part (line numbers are on the left):
789 $data['TIME'] =mysql2date($time_format,$entry->post_date);
790 $data['TITLE'] =$entry->post_title;
791 $data['LINK'] =get_permalink($entry->id);
792 $data['AUTHOR']=$entry->author;
793 echo " <li>".ec3_format_str($template_event,$data)."</li>\n";
794 }
And change it to something like:
$data['TIME'] =mysql2date($time_format,$entry->post_date);
$data['TITLE'] =$entry->post_title;
$data['LINK'] =get_permalink($entry->id);
$data['AUTHOR']=$entry->author;
// This is a copy of $template_event, but with out %TIME%
$t='<a href="%LINK%">%TITLE%</a>';
echo " <li>".ec3_format_str($t,$data)."</li>\n";
// Old event list display
//echo " <li>".ec3_format_str($template_event,$data)."</li>\n";
Good luck...
Cove
On 6/26/06, Matthew Binkowski <matt at mattbinkowski.com> wrote:
>
> Hi,
>
> Can someone tell me how to remove the time stamp on the actual event
> listing? For example, I'd like to remove the (9:00 am) bit from this:
>
> "South Haven Summer Art Fair (9:00 am)"
>
> Thanks,
> Matt
>
> _______________________________________________
> EventCalendar mailing list
> EventCalendar at firetree.net
> http://penguin.firetree.net/cgi-bin/mailman/listinfo/eventcalendar
>
>
>
More information about the EventCalendar
mailing list