[EventCalendar] Page with listings

Bertrand 4ltkfi702 at sneakemail.com
Fri Sep 7 19:23:39 UTC 2007


the display functions really need some expanding.

i ended up taking the function out of the core code and tweaking to get 
the data out that i needed. (post text rather than just title)
it wouldnt be too hard to extend the core, as it's using templates as 
is. just needs some more DB logic ala lazy loading:
1. find all the requested variables in template
2. form db select based on what data is requested
3. populate template with data



Bertrand wrote:
> I can pull a page up that's close to what I expect with something like so:
> 
> 
> <?php
> query_posts('cat=5');
> while (have_posts()) : the_post();
> $title = the_title(false,false,false);
> $date = get_the_date();
> $txt = get_the_content();
> 
> print <<<END
> <h3>$title</h3>
> $txt
> <hr />
> END;
> 
> endwhile;
> ?>
> 
> 
> but since I need the event calendar date and not the post date, how do I 
> pull the date out of ec3_schedule table?
> 
> 
> 
> 
> 
> Bertrand 4ltkfi702-at-sneakemail.com |bugmenot| wrote:
>> I'd like my listing page to include the blog text instead of just the 
>> event title:
>>
>> September 2007:
>>
>> This is an event
>>
>> This is the event text
>> This is the event text
>> This is the event text
>>
>> This is another event
>>
>> This is the event text
>> This is the event text
>> This is the event text
>>
>>
>> Is there an easy way to do this?
>>
>>
>> _______________________________________________
>> Blog: http://wpcal.firetree.net/
>> EventCalendar at firetree.net mailing list
>> Unsubscribe: http://penguin.firetree.net/eventcalendar
>>
> 
> 




More information about the EventCalendar mailing list