[EventCalendar] specifying start date of calender display
Alex Tingle
alex at firetree.net
Mon Jan 22 20:21:23 UTC 2007
Yes, the ec3_Date class is in date.php. Try:
$this_month = new ec3_Date(2007,4,1);
I really suggest that you learn some PHP before trying to do this stuff.
-Alex
--
On 22 Jan 2007, at 15:54, Phil Emery wrote:
> cool
>
> Would it be this one?
>
> $this_month = new ec3_Date();
>
> not sure what to do here.
>
> thanks
>
> At 4:38 PM +0000 1/21/07, Alex Tingle thoughtfully penned the
> following:
>> Hi Phil,
>>
>> On 21 Jan 2007, at 15:28, Phil Emery wrote:
>>
>>> Thanks for the response!
>>>
>>> I do want every page to start on April . I was looking at the php
>>> files and couldn't offhand see any obvious way to change it. I'm
>>> still new with PHP but getting better.
>>>
>>> Any idea where and what to change?
>>
>> ec3_get_calendar() in eventcalendar3/template-functions.php
>>
>> -Alex
>>
>> --
>>>
>>> At 11:37 PM +0000 1/20/07, Alex Tingle wrote:
>>>> Hi Phil,
>>>>
>>>> On 19 Jan 2007, at 14:46, Phil Emery wrote:
>>>>
>>>>> Is there some way (perhaps by tweaking the php) to specify the
>>>>> first calender to be displayed?
>>>>>
>>>>> So if I have it set to show 4 months at once, I could always
>>>>> have the first calender be April for instance?
>>>>>
>>>>> Any clarity on this issue would be greatly appreciated.
>>>>
>>>> If you go to the archive page for April, then April will be the
>>>> first calendar shown.
>>>>
>>>> If you want EVERY page to show April first, then you need to
>>>> change the code. Shouldn't be too difficult.
>>>>
>>>> -Alx
>>>>
>>>> _______________________________________________
>>>> Blog: http://wpcal.firetree.net/
>>>> EventCalendar at firetree.net mailing list
>>>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>>
>>>
>>> --
>>>
>>> Phil Emery
>>> creative director phil at focusedcreative.com
>>> Focused Creative Communications
>>> 18 Hook Ave. (416) 534-4273
>>> Suite 106 fax: (416) 534-7740
>>> Toronto, ON M6P 1T4 http://www.focusedcreative.com
>>>
>>> _______________________________________________
>>> 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
>
>
> --
>
> Phil Emery
> creative director phil at focusedcreative.com
> Focused Creative Communications
> 18 Hook Ave. (416) 534-4273
> Suite 106 fax: (416) 534-7740
> Toronto, ON M6P 1T4 http://www.focusedcreative.com
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
More information about the EventCalendar
mailing list