[EventCalendar] today's event on index
Tim Schrock
tdschrock at hotmail.com
Tue May 29 14:07:03 UTC 2007
Felipe,
You have mentioned “index page” a couple of times. Are you referring to the
WordPress homepage, or another page (separately created) on your website?
I have my website index page (separately created as an .htm page), pulling
ec3 functions from within the .htm page, and there is nothing passed thru
the url. All of mine is behind the scenes in php and I didn’t use a plugin.
I did have to set up the server to run php on .htm pages, but that’s easy
(for my server it was).
I may not be understanding what you’re trying to do. So, check out
HYPERLINK "http://www.wabashvalleynari.org/"www.wabashvalleynari.org and
right on the main page is our events list. I used a different ec3 function
than you want, but I can use any ec3 function I wish.
Hope this helps.
Tim
Tim Schrock
Design Build Solutions, LLC.
HYPERLINK
"http://www.designbuildsolutionsllc.com/"www.DesignBuildSolutionsLLC.com
HYPERLINK
"mailto:info at designbuildsolutionsllc.com"tim at designbuildsolutionsllc.com
Phone: 765-482-6371
Fax: 866-699-4192
_____
From: eventcalendar-bounces at firetree.net
[mailto:eventcalendar-bounces at firetree.net] On Behalf Of Felipe Carvajal
Molina
Sent: Monday, May 28, 2007 1:16 PM
To: Marc Smith
Cc: Support for EventCalendar plugin
Subject: [EventCalendar] today's event on index
????. Sorry for bothering you... i think that's the way i have to do it...
but how? i know that "?ec3_days=7" means that a function and varibles are
being pass through the url.
My doubt y how to call the function "ec3" using value 7 for "days" from
within the index page.
----- Original Message -----
From: HYPERLINK "mailto:info at stuntmusic.com"Marc Smith
To: HYPERLINK "mailto:felipe at futurista.cl"Felipe Carvajal Molina
Sent: Monday, May 28, 2007 12:04 PM
Subject: Re: [EventCalendar] today's event on index
You should be able to place that code in a PAGE as well as a post using the
runPHP plug in.
----- Original Message -----
From: HYPERLINK "mailto:felipe at futurista.cl"Felipe Carvajal Molina
To: HYPERLINK "mailto:info at stuntmusic.com"Marc Smith
Sent: Monday, May 28, 2007 11:51 AM
Subject: Re: [EventCalendar] today's event on index
Thanks Marc... i've already use that code..and i need to show the entries as
a post, with title, body, date and time of the event and number of comments.
The ?ec3_days=7 parametres shows the way i want. I need to know how to show
that without sending those parametres by url.
Thanks again.
----- Original Message -----
From: HYPERLINK "mailto:info at stuntmusic.com"Marc Smith
To: HYPERLINK "mailto:eventcalendar at firetree.net"Support for EventCalendar
plugin
Sent: Monday, May 28, 2007 11:21 AM
Subject: Re: [EventCalendar] today's event on index
Felipe,
You can use a plug in that allows you to use PHP code on a page within
WordPress. I use runPHP and the code:
<p>
<?php ec3_get_events(4, // limit
'%DATE%: <a href="%LINK%">%TITLE%</a>', // template_event
'',
// template_day
'j',
// date_format
'%MONTH%:' //
template_month
);
?>
</p>
And it appears like this:
HYPERLINK "http://www.pcdm-band.com"http://www.pcdm-band.com the first
page you see is a post using the PHP code within a post.
----- Original Message -----
From: HYPERLINK "mailto:felipe at futurista.cl"Felipe Carvajal Molina
To: HYPERLINK "mailto:eventcalendar at firetree.net"eventcalendar at firetree.net
Sent: Monday, May 28, 2007 10:51 AM
Subject: [EventCalendar] today's event on index
Hello guys. First of all, i have to congratulate the team wich created this
amazing plugin.
I'm a newby on wp and eventcalendar, so i have a lot of question, but i'm
gonna ask just one. Here it is...
how can i make the index page shows the events the same way as if i type
.../wordpress/?ec3_days=7 ?
Is there any way to start that variables from the index page?
I'm using wp2.09 and event calendar 3.1.1._rc1.
Ok. i hope i can solve this, i need it for my proyect.
Thanks.
_____
_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar
_____
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.1/822 - Release Date: 5/28/2007
11:40 AM
_____
_______________________________________________
Blog: http://wpcal.firetree.net/
EventCalendar at firetree.net mailing list
Unsubscribe: http://penguin.firetree.net/eventcalendar
_____
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.1/822 - Release Date: 5/28/2007
11:40 AM
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.472 / Virus Database: 269.8.1/822 - Release Date: 5/28/2007
11:40 AM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20070529/0ca3f337/attachment-0001.htm
More information about the EventCalendar
mailing list