ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How to... Repeet Plugin

March 25, 2009 12:46am

Subscribe [2]
  • #1 / Mar 25, 2009 12:46am

    kc4imr

    9 posts

    Hello All,

    I am building a site and trying to use the Brent Wilson’s Repeet Plugin, but as a novice have some general questions…

    Here is an overview of what I am trying to do:

    I have a site where the home page shows events for the current day. The page also has a little sidebar calendar that links to pages for each of the other days and shows future entries.

    Say an event for Today (assuming its Monday) occurs every Monday, I want to show it not only on the current day page, but also all the other Monday pages, which are available by clicking the sidebar calendar.

    I have created my custom field and have it set up with the drop down list…

      * None
      * Daily
      * Weekly
      * Monthly
      * Every Monday
      * Every Tuesday
      * Every Wednesday
      * Every Thursday
      * Every Friday
      * Every Saturday
      * Every Sunday

    I am now struggling to understand exactly how to implement this into the code. I assume that I will need to use a repeet tag to call forward those entries that have one of the above selections, but I’m a little lost.

    Do I need to edit the lang file to correspond to the above list?
    What are general code/tags that I will need to use to make sure when EE calls forward the posts for a given day it captures the repeating entries?
    And would this go inside or outside of my {weblog:entries} tag?

    Any help would be more than appreciated in getting this setup!

    Cheers,

    KC4Imr

  • #2 / Mar 25, 2009 10:18am

    kirkaracha

    273 posts

    I think your dropdown list has incorrect values. The repeat interval for Monday, for example, should be “days of the week: 1” instead of “Monday.” (You could use “Monday” as the label and “days of the week: 1” as the value.) ” None, Daily, Weekly, and Monthly should all be lowercase.

    The Repeet page has the basic code for listing events. Basically the exp:repeet:get_ids gets the IDs of the entries that match the repeat interval and passes the IDs to a exp:weblog:entries tag.

  • #3 / Mar 25, 2009 5:47pm

    kc4imr

    9 posts

    Thanks a lot! That was helpful and has got me pointed in the right direction. However, I have another question regarding the plugin…

    Looking the the code for listing entries, I understand that it is pulling those entries that meet a certain criteria for that interval by their ID. Will this still allow for my entries that are “one off” (no interval) and occurring on that same date to also display? Or will it only display those entries that have been pulled in my repeet?

    Ideally I would like both the reoccurring entries and my one off entries to display on the same page in random order if possible.

    Thanks again!

  • #4 / May 15, 2009 11:34am

    vladyn

    176 posts

    Is anybody know - can I use dynamic parameter with Repeet Plug-in - to sort results by month, day, week?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases