[EventCalendar] Help with putting month link in event list

Dr. Peter Troxler peter.troxler at gmx.net
Sun Sep 30 15:14:10 UTC 2007


nice idea, however I don't see an easy solution for this
(other than rewriting ec3_get_events or replacing it by your own  
function, both serious coding effort)

/ pt

On 28-sep-2007, at 22:20, Sergio Alvarado wrote:

> I have successfully set up my homepage to show a list of up-coming  
> events using the EventCalendar 3.1.1.rc1,  "ec3_get_events()"  
> template tag.
> Below is my code (very similar to the sample in the    
> "ec3_get_events()" template tag page.
>
> <?php
> ec3_get_events(
>    20,                                      // limit
>    '%DATE%: <a href="%LINK%">%TITLE%</a>', // template_event
>    '',                                     // template_day
>    'j',                                    // date_format
>    '<h2>%MONTH%</h2>'      // template_month
> );
> ?>
>
> What I need is to place a link to the month archives page, like in  
> the Month of the "ec3_get_calendar." so that when someone clicks on  
> the month they will be taken to archives page for that specific month.
>
> i.e. if they click on the header "October 2007," they will be taken  
> to the link http://my_domain.com/?m=200710 ,  if they click on the  
> header "November 2007," they will be taken to the link http:// 
> my_domain.com/?m=200711 , and so on.
>
> Does anyone have any idea how I can accomplish this. I tried  
> putting in "<a href="month_link()"><h2>%MONTH%</h2></a>" this did  
> not work.
>
> Thanks in advance to anyone who can help.
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20070930/e1af937a/attachment.htm


More information about the EventCalendar mailing list