[support] Organic Groups, Views 2 and Calendars.

Martin Tomes martin at tomes.org.uk
Wed Jan 14 09:37:03 UTC 2009


On Wed, Jan 14, 2009 at 3:58 AM, Larry Garfield <larry at garfieldtech.com>wrote:

> Just for completeness, try a path for the calendar of node/%/calendar.  It
> may
> be that the % is required in the path for the argument to pick up.  Then
> remove the date argument to make sure it's not confusing things.  (I'm not
> sure, but it's the first thing that occurs to me.)
>
> You can still force the page to show only on group nodes by specifying a
> validator of "group node".


Thanks, I did get it working in the end, but I don't understand the
validator stuff so your reply is very useful.


> On Tuesday 13 January 2009 5:00:21 am Martin Tomes wrote:
> > I would like to set up a calendar for each organic group. I don't much
> like
> > the events module, using Views 2 and Calendar is so much better. My
> problem
> > is that I can't work out how to show a calendar of events which belong to
> > an OG.
> > I have a group events content type which has a DateTime field (with a to
> > date) and have created content which appears as an event page in the
> group.
> >
> > I have cloned the calendar view and added 'Organic groups: Group node' as
> > an argument which is validated as Group Node with argument type Node ID
> and
> > a date argument 'Date: Date Content: Start Date (field_start_time value)
> OR
> > Content: Start Date (field_start_time value2) '. The url for the calendar
> > page is group/calendar.
> >
> > My group page is node 606, when I visit group/calendar/606 I get no
> events.
> >
> > Where am I going wrong?
>
> --
> Larry Garfield
> larry at garfieldtech.com
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>



-- 
Martin Tomes
martin at tomes.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20090114/a3fbb717/attachment-0001.htm 


More information about the support mailing list