[EventCalendar] Problem with Calender & Upcoming Events

Alex Tingle alex at firetree.net
Tue Dec 2 08:30:58 UTC 2008


Rick Boatright wrote:
> Yeah, but the NAV links on the calendar are mis-behaving Alex.
> Try going to Jan from Dec...
> 
> It's not _RIGHT_  and I think it's cforms, although I could be wrong.

Ah, OK. Well, that too then.

-Alex

--


> On Mon, Dec 1, 2008 at 4:52 PM, Alex Tingle <alex at firetree.net> wrote:
> 
>> Hi Danny,
>>
>> Danny Newby wrote:
>>> Hi all, I'm helping a friend redesign his website and I'm having a
>>> massive problem with the way the links are formatted in the Calender
>>> section.
>>> The problem is, links are displayed like "/2008/12/07/" in the
>>> calender, but in the Upcoming Events it links to the permalink i.e.
>>> "/reiki-i/" Which is where I want the links in the calender to point
>>> to.
>>> Does anyone know which PHP file I need to edit so I can change the
>>> links so they both point to the same page?
>> The plug-in is behaving as designed. Individual events (in your upcoming
>> list)
>> are linked directly to the post's permalink. Calendar days are linked to
>> the
>> archive page for that day.
>>
>> It looks a bit strange to you because you don't have any days with more
>> than
>> one event. Imagine that you *did* have a day with two or three events -
>> where
>> should the calendar's day-link go then?
>>
>> It can't just go to the day's first event, because then there would be no
>> way
>> to list subsequent events. Instead, it goes to the archive page, where all
>> the
>> day's events *are* listed.
>>
>> Now, you might suggest that it should be "smart" and only go to the archive
>> page on days with more than one event... but then it's behaving
>> inconsistently! You would be happy (perhaps), but we'd get lots of other
>> people here complaining that sometimes the links go to one place, and
>> sometime
>> another, and they're unhappy!
>>
>> It's a difficult choice. There's no really perfect solution, but I chose to
>> go
>> with consistency - so the day-links always go to the archive page.
>>
>> If you can think of a better solution, then please do suggest it.
>>
>> (I've added this to the FAQ, since it comes up quite often.)
>>
>> -Alex
>>
>> --
>> :: Let me solve your problems: http://www.firetree.net/alex/
>> :: alex.tingle AT firetree.net  +44-7901-552763
>>
>>
>> _______________________________________________
>> 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


-- 
:: Let me solve your problems: http://www.firetree.net/alex/
:: alex.tingle AT firetree.net  +44-7901-552763

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://penguin.firetree.net/pipermail/eventcalendar/attachments/20081202/05b4d081/signature.pgp


More information about the EventCalendar mailing list