[EventCalendar] Previous and Next Links in single.php
firetree_ec3 at spamex.com
firetree_ec3 at spamex.com
Wed Nov 7 19:48:19 UTC 2007
Yeah, that's sort of what I thought. I have no problem removing the
next/prev links from single events. Maybe I'll have some kind of
breadcrumb in my template.
Thanks!
On Nov 7, 2007, at 2:35 PM, Alex Tingle wrote:
> * Replies will be sent through Spamex to eventcalendar at firetree.net
> * For additional info click -> http://www.spamex.com/i/?v=17832931
>
> Hi Chris,
>
> This problem has been around for a while. It's a pretty thorny issue.
>
> Obviously when you are just looking at a single post, there is no
> associated query, so there's no way prev/next can do anything
> special for events.
>
> Perhaps the solution would be to have a special category-single
> template, just for event posts. I'm not sure how this feature works
> in the new post-category world, and I'm not sure how it would work
> with posts in more than one category.
>
> In fact, it seems completely insoluble in the general case.
> Sometimes *next* means next post date, sometimes it means next
> event date- how is the single template supposed to know which? It
> just doesn't have the context.
>
> Any thoughts?
>
> -Alex
>
> --
>
>
> On 7 Nov 2007, at 13:48, firetree_ec3 at spamex.com wrote:
>
>> I did search for this, and didn't find anything.
>>
>> In single.php, you usually have previous_post_link() and
>> next_post_link() to send you fowards/backwards.
>>
>> I want these to sort on EVENT date, not post date.
>>
>> Apparently, a simple cat=3 (My current Events category) does not
>> invoke EC3's "advanced" mode, so they sort by post date.
>>
>> Is there a way to make these point to previous events and future
>> events?
>>
>> I had to remove these from EC3 posts because of the confusion they
>> cause.
>>
>> Chris
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
catchall account
More information about the EventCalendar
mailing list