[EventCalendar] today's event on index

Felipe Carvajal Molina felipe at futurista.cl
Mon May 28 17:15:39 UTC 2007


????. 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: Marc Smith 
  To: 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: Felipe Carvajal Molina 
    To: 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: Marc Smith 
      To: 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:

      http://www.pcdm-band.com   the first page you see is a post using the PHP code within a post.
        ----- Original Message ----- 
        From: Felipe Carvajal Molina 
        To: 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20070528/819c06fc/attachment.htm


More information about the EventCalendar mailing list