When I access the events module on my testsite i am taken to a calendar top page which has things like
* bread-crumbs "home>>events"
* a URL path that reads http://mysite/events
* a cool little GUI that lets users select the next week/month using << arrows >>, and the ability to change to week/month/day view etc.

But, when I click on an event title I lose the bread-crumbs (actually, the breadcrumb changes to just "home"), the url path changes to "http://mysite/node/somenumber" and I lose the GUI with the << arrows >>!

I want to view event nodes within the event module framework! Can anyone tell me how to do this?

Thanks so much!
Erik

Comments

pwolanin’s picture

I'm not sure I understand the problem, or maybe you need some more information on the Drupal internals to see how this works.

Any node type can be selected as "event enabled". The "event" type is really just a copy of the "story" type. Thus, the link to that post will always give you a URL like /node/x. If you want the URL to look different, you can enable the path module and either manually assign path aliases, or use the contributed pathauto module to make them automatically.

Also, which GUI are you referring to losing? At the bottom of the event-enabled node should be a link that takes you back to the calendar view.

---
Work: BioRAFT

erik_osaka’s picture

--Any node type can be selected as "event enabled". The "event" type is really just a copy of the "story" type.--
True, but I'd like to set it so that when I click on 'create content' and choose 'event' the new node is contained within the 'event category' and not published as an independant node. (right now I'm only using the taxonomy module and haven't got my orginization the way I'd like. Would the category module be better for something like this?)

--If you want the URL to look different, you can enable the path module and either manually assign path aliases, or use the contributed pathauto module--
Thanks, I checked out http://drupal.org/project/pathauto and I think it'll do what I'm looking for.

--Also, which GUI are you referring to losing? At the bottom of the event-enabled node should be a link that takes you back to the calendar view.--
The event GUI is very simple and is really only a couple of arrows at the top of the calendar, but when an event is selected those dissapear and the event is viewed in basiaclly the same format as any other 'story' would be (since it is posted as an independant node..). I would like event nodes to be viewed within the event module framework so that these arrows don't disapear and users know they're still in the same section of the site. This way users could browse events just by clicking the 'next' arrow, kinda like the same way as they browse, say, photos. (We have a VERY events heavy site. Here's a link to the events calendar on our current site http://www.bikeclubosaka.com/index.php?module=PostCalendar&func=main) I realize that there is a button to go back to the calendar, but I'm kind of annoyed I was ever taken out of the calendar in the first place...

Thanks for the reply by the way. I'm still new to drupal and struggling with the curve, your advice is GREATLY appreciated. As I get the hang of this I look forward to contributing more to the Drupal community!
Erik

pwolanin’s picture

Since all content in Drupal is nodes, there really isn't a way to constrain events from being "independent". Maybe you're looking for some way to automatically apply taxnomy terms? It's not really needed, however, since all the events will show up in the block, etc.

As far as the GUI, I think what you want is the "day" view in the calendar. Look near the top you'll see that there a month, week, and day links for different views. This will lead you to a path like: /event/2006/10/26/day/all/all/1 where you still have the arrows at the top.

So, I think really what you need is for the links for events in the month/week calendar view to take you to the day view, rather than the node.

I think there is are theme functions that format the month and week views, so you could probably override those theme functions to give the links to the day view as your prefer.

---
Work: BioRAFT

erik_osaka’s picture

hey, thanks! I've gotten things working the way I want by using path auto and category module.

I was able to automatically tag nodes created by create content>>event with an "events" category using yhe category module and path auto allowed me to set my desired URL path, which then allowed me to link dynamic menus.

I still lose the event GUI when looking at an event, but I've found an acceptable solution by creating dynamic menus that update with category nodes. (done with pathauto)

Thanks for the help :)