[EventCalendar] Help with putting month link in event list
Sergio Alvarado
sergiojalvarado at gmail.com
Sun Sep 30 15:30:32 UTC 2007
Yeah. but how is it that it can be done with the calendar "ec3_get_calendar
()" and not "ec3_get_events ()"
I mean it's already done but just not included in this function...
On 9/30/07, Dr. Peter Troxler <peter.troxler at gmx.net> wrote:
>
> 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
>
>
>
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
>
>
--
God bless you,
Sergio J. Alvarado
Tel: (305) 586-2901
-I want to tell you something that will transform your life... That Jesus
Christ loved you so much that he died on the cross for you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20070930/daf4ef53/attachment.html
More information about the EventCalendar
mailing list