[EventCalendar] FW: Show events on HTML homepage

Tim Schrock tdschrock at hotmail.com
Mon Apr 23 18:17:23 UTC 2007


Sara,

Thanks for the quick reply, but I'm thinking that I may have not explained
myself clearly.  The informational pages we have right now are HTML pages.
>From there, I link to our blog (a subdirectory).  I have it figured out how
to get the htaccess coding and all that such that PHP works in my HTML
files, so we're good there.

I like your website - impressive.  It looks like the whole site is a
WordPress creation?  Mine started out as 5-6 static pages from a
web-designer, and I've been playing with WordPress.

Now, I need to get into the database and pull out the EC posts and put them
on my homepage.  I'm hoping I can include enough template-functions.php
files and just run ec3_get_events(5).

If you care to look, the website is www.wabashvalleynari.org

Tim
 

-----Original Message-----
From: eventcalendar-bounces at firetree.net
[mailto:eventcalendar-bounces at firetree.net] On Behalf Of Sara Cormeny
Sent: Monday, April 23, 2007 2:04 PM
To: Support for EventCalendar plugin
Subject: Re: [EventCalendar] FW: Show events on HTML homepage

I have what I think is what you need, working on the homepage of one  
of my clients.

The code I used was:

<?php
ec3_get_events(
    '2',                               // limit
    '%DATE%: <a href="%LINK%">%TITLE%</a>', // template_event
    ''                                      // template_day
);
?>


The site it's on is at:  http://www.boltfabricboutique.com/ .

Maybe that syntax help is all you needed (ie, get_events, not  
show_events)? Hope so.

Take care.

-Sara

On Apr 23, 2007, at 10:43 AM, Tim Schrock wrote:

>
> Hi, I love the WordPress blog and Event Calendar plugin.  I have  
> set up our
> website with several informational pages, and then linked to the blog.
>
> Since the EC plugin is available for our regular meetings plus special
> events (which I already use on the blog), I would like to show that  
> info
> on our main index page.
>
> It would be great (but I've already tried) to just call a
> "ec3_get_calendar()" function and "ec3_show_events(3)" to get the  
> info - it
> doesn't work right now, but can "include" the right files from  
> WordPress and
> EventCalendar so that they do work?
>
> Thanks.
>
> Tim Schrock
>
>
>
>
>
> _______________________________________________
> 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




More information about the EventCalendar mailing list