I'm referring to the the Page Events Extension that I linked to: http://github.com/mghaught/radiant-page-event
As well as the event and calendar support it extends radiant by also adding several pages types, event_archive_page.rb, event_month_index_page.rb, event_day_index_page.rb etc. These look similar to the page types added by the Archive extensions but are added by the Page Event Extension - they are not added by the Archive extension. In the admin area on any particular page, for the page type you can choose Event Archive, Event Month Index, Event Day Index ... as well as the selections for the Blog extension; Archive, Archive Month Index, Archive Day Index. Two different things. It looks like it filters the events by date in the same manner as the blog archive page type filters blog posts by date. You can filter manually with the <r:events:in_range:each> tag. I'd like to know if you can filter based on the url like the page types suggest and what these page types do? On 24 Nov 2009, at 21:42, Anton Aylward wrote: > [email protected] said the following on 11/24/2009 03:04 PM: > >> >> I'm confused at to what these additional page types actually do...? > > You've got me confused now. > Which extensions are you talking about? > > you're refering to > > <r:archive .... > and > <r:events ... > > Those are two separate extensions. The first comes with the basic > Radiant - check the gem if you haven't frozen it into your working tree. > > The second is a separate plugin that you download and install manually. > > The Radiant core archive code extracts the Archive pages from their > original place in the Radiant distribution. > > Pages of page-type=archive are intended to provide behaviour similar to > a blog archive or a news archive. Child page URLs are altered to be in > %Y/%m/%d format (2004/05/06). > > Looking at the code of the archive extension I see that its based on > "date published", as you would expect or a blog. > > The Page Event code adds extra fields and its operation is based on > those extra fields. > > The Archive is based on each page having one specific date. > > The Page Event is oriented around the idea of a calendar, so that means > an event may have a start data and an end date, as would be the case for > a conference, a trade show or a Broadway show. > > They are two completely different things with different objectives. > > Trying to use them together is going to tie you into knots. > > -- > The art of progress is to preserve order amid change and to preserve > change amid order. > --Alfred North Whitehead > _______________________________________________ > Radiant mailing list > Post: [email protected] > Search: http://radiantcms.org/mailing-list/search/ > Site: http://lists.radiantcms.org/mailman/listinfo/radiant _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
