Hi everyone,
I've had a read of various help docs to try and set this up without using the forums but haven't got anything working correctly yet.
I'm making an events listing system for my Drupal site. At the moment I have two lovely CCK content types -
--- event (e.g. http://www.liverpoolstudentmedia.com/events/sample-lgos-event )
--- venue (e.g. http://www.liverpoolstudentmedia.com/venues/lgos )
They're both set up with automatic aliases as you can see from the urls.
Ok, so now my next step is to make calendar views. I'm going to go for an overall calendar of every event, and then an individual calendar showing the events happening at each different venue. The views for this I think I'll be able to create pretty easily from tutorials etc.
The only problem I'm having is getting the link to the calendar view (which is going to be in the tabs section of each venue node) to only appear on venue nodes.
I've tried various combinations of arguments and path settings in the page settings section of the page view's options, but nothing I've tried has worked.
If I use venue/%/calendar no tab appears, if I use node/%/calendar then the calendar tab appears for every single node, even if I use an argument to try and restrict it to venue nodes. I imagine my lack of Views experience means I'm messing something up.
Previously I've added a Twitter tab to each user's profile ( e.g. http://www.liverpoolstudentmedia.com/user/3/tweets) but that was much easier as profiles have the path user/uid rather than node/nid - so no filtering based on node type is required.
Any help or pointers would be greatly appreciated!
Comments
Drupalettiquette
Oops, should this really be posted in the Views Issues as a support request? Could I post a link there to this thread, or would that duplication not be the best way of doing things?
I understand arguments are
I understand arguments are the key, but am having trouble setting them up. There's a copy of my view at http://drupal.org/node/434160#comment-1785790
Solution at
Solution at http://drupal.org/node/434160#comment-1800098 - it was a lot easier than I thought. oops!