[EventCalendar] Display date range?

Steve Weintraub steve at dalahus.com
Mon Nov 6 00:42:40 UTC 2006


Alex-

1) I mean the date-range of the first (only) event as chosen in the  
Event Editor. For example look here: http://www.igavel.com/iart/
Where it says "19 October:", I'd like it to read "Oct 19 - Nov 14:" I  
would only be doing one event per post, so there would be no  
confusion on that matter. I'm surprised this is difficult; the end- 
date field exists, and is pulled for the calendar view. There's no  
simple way to grab that and stick it into the header?

I'm actually a bit confused about being able to add multiple events  
for a single post-date; they can't be labeled, so how are they meant  
to be used?

2) I've seen the template functions, but as I'm using the plugin via  
a Widget, I'd rather not muck with the core code, which I assume I  
would need to do. Otherwise, I'd have to disable the widget and plunk  
it into my template manually.

On Nov 5, 2006, at 6:58 PM, Alex Tingle wrote:

> Hi Steve,
>
> On 5 Nov 2006, at 21:04, Steve Weintraub wrote:
>
>> Hi - is there a way to display the event range in the sidebar  
>> header? In other words, instead of the header reading "10  
>> November:", it would read "10 November - 5 December:"
>
> How would you define the 'end'? Would that be the end of the next  
> event in the post, or the end of the last event in the post?
>
> The ec3_get_events() function is too blunt a tool to make these  
> distinctions. If you want to make your own version then go for it.  
> You could copy the code from eventcalendar3/template-functions.php  
> or you could set up your own query and WP-loop.
>
>> Also, is there a way to remove the URI of the event title? That  
>> is, I don't want to be able to click the event text.
>
> Did you read the documentation??
>   http://wpcal.firetree.net/template-functions/ec3_get_events/
>
> -Alex
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar




More information about the EventCalendar mailing list