[EventCalendar] Help with putting month link in event list
Dr. Peter Troxler
peter.troxler at gmx.net
Sun Sep 30 16:36:41 UTC 2007
because the functionality you're looking for has been provided with
the function ec3_get_calendar() but not with ec3_get_events();
that's what I'm saying: rewrite ec3_get_events() or replace it by
your own function
flesh your request out to a good proposal and send it to the list and
the auhtors of the plugin might or might not take it onto the wish-
list for future functionality
/ pt
On 30-sep-2007, at 17:30, Sergio Alvarado wrote:
> 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!
> _______________________________________________
> 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/912afe35/attachment.htm
More information about the EventCalendar
mailing list