[drupal-devel] Q: Custom node types in forums?
I posted this question <http://drupal.org/node/30980> some time ago and got zero response. I'm following up here because I'd like to hear from Drupal experts before I pursue it any further. Briefly (this repeats content from the link above), I've created a new node type. It's an event with dates, location and other data. I want the event discussed in my forums, but I don't want to create a new forum entry in parallel with my event node. I'd like my event node itself to appear in the forums, as well as other places on the site (event calendar, etc). So my idea is that forums should include any node of any type, as long as it is associated with a forum taxonomy term. That is, if I create any node at all and give it the taxonomy term Forum->Events, it will appear in my Events forum. The current forum package does not work this way. It only shows nodes of type 'forum' and has a forum table which includes all forum nodes. I think both of these 'limitations' could be removed. Unless of course there is good reason for them that I do not see. Which is why I'm asking now. As I said in my earlier post, I'm willing to contribute to this if others like the idea. Thanks for your input, -Dave
There is some custom forum solution in contrib which allows you to have any kind of node in forums. This is highly unlikely to change in Drupal 4.7, as we are in feature freeze, but a good item to discuss for 4.8 (5.0?) Goba David Cohen wrote:
I posted this question <http://drupal.org/node/30980> some time ago and got zero response. I'm following up here because I'd like to hear from Drupal experts before I pursue it any further.
Briefly (this repeats content from the link above), I've created a new node type. It's an event with dates, location and other data. I want the event discussed in my forums, but I don't want to create a new forum entry in parallel with my event node. I'd like my event node itself to appear in the forums, as well as other places on the site (event calendar, etc).
So my idea is that forums should include any node of any type, as long as it is associated with a forum taxonomy term. That is, if I create any node at all and give it the taxonomy term Forum->Events, it will appear in my Events forum.
The current forum package does not work this way. It only shows nodes of type 'forum' and has a forum table which includes all forum nodes. I think both of these 'limitations' could be removed. Unless of course there is good reason for them that I do not see. Which is why I'm asking now.
As I said in my earlier post, I'm willing to contribute to this if others like the idea. Thanks for your input,
-Dave
I did not mean to suggest this for 4.7. I know people are busy, and its just plain too late for that. While I'd change the forum.module itself to do this, I'd also consider it as an add on module (i.e. taxonomy_forum) which could peacefully co-exist with the existing forum module. Can you be more specific about the solution in contrib? What should I be looking at? Thanks. On Tue, Sep 20, 2005 at 09:28:15PM +0200, Gabor Hojtsy wrote:
There is some custom forum solution in contrib which allows you to have any kind of node in forums. This is highly unlikely to change in Drupal 4.7, as we are in feature freeze, but a good item to discuss for 4.8 (5.0?)
Goba
I didn't remember the name, but looked it up: http://cvs.drupal.org/viewcvs/drupal/contributions/modules/akvaforum/ Start with the README! The code is probably way too outdated (7 months old). But it might give you a hint on how others would approach the same problem. Goba
I did not mean to suggest this for 4.7. I know people are busy, and its just plain too late for that.
While I'd change the forum.module itself to do this, I'd also consider it as an add on module (i.e. taxonomy_forum) which could peacefully co-exist with the existing forum module.
Can you be more specific about the solution in contrib? What should I be looking at?
Thanks.
On Tue, Sep 20, 2005 at 09:28:15PM +0200, Gabor Hojtsy wrote:
There is some custom forum solution in contrib which allows you to have any kind of node in forums. This is highly unlikely to change in Drupal 4.7, as we are in feature freeze, but a good item to discuss for 4.8 (5.0?)
Goba
So my idea is that forums should include any node of any type, as long as it is associated with a forum taxonomy term. That is, if I create any node at all and give it the taxonomy term Forum->Events, it will appear in my Events forum.
yes, i think many people want this. the current behavior could be preserved as an option since it is occasionally desirable. I am imagining a select box on the forum page where you select which node types should appear in the forum. A bit trickier from a UI perspective is the posting form. When you create an event node, do you want to be asked in which forum it should appear. Are events always in forums. You get where I am going with this.
The current forum package does not work this way. It only shows nodes of type 'forum' and has a forum table which includes all forum nodes. I think both of these 'limitations' could be removed. Unless of course there is good reason for them that I do not see. Which is why I'm asking now.
That forum table seems to be needed in order to support 'shadow' topics. These are pointers to a new location when an admin moves a topic from one forum to another. It is a nice feature, but that table causes confusion.
My thought was under edit vocabulary you choose the Types associated with the Forum vocabulary. Uncheck required if don't want to force node types into the forums. Check Multiple Select if you want a single node to appear in more than one. Then on edit/create node you are prompted to place it in a vocabulary. In short, no new UI at all. Just use the existing taxonomy features. Thanks for explaining somewhat the need for the forum table. -D On Tue, Sep 20, 2005 at 03:28:29PM -0400, Moshe Weitzman wrote:
A bit trickier from a UI perspective is the posting form. When you create an event node, do you want to be asked in which forum it should appear. Are events always in forums. You get where I am going with this.
That forum table seems to be needed in order to support 'shadow' topics. These are pointers to a new location when an admin moves a topic from one forum to another. It is a nice feature, but that table causes confusion.
I did a similar thing to blog module a while ago.[1] I really very much like this concept of 'display only' modules. That just take existing nodes (flexinodes most of the times, but images come as a popular second) and present them in some way. For example present them in a forum way. Or in a blog way. I believe this is /the/ way :) PLease go ahead, I am sure people are interested. Ber [1]http://cvs.drupal.org/viewcvs/drupal/contributions/sandbox/ber/blog/ Op dinsdag 20 september 2005 21:24, schreef David Cohen:
I posted this question <http://drupal.org/node/30980> some time ago and got zero response. I'm following up here because I'd like to hear from Drupal experts before I pursue it any further.
Briefly (this repeats content from the link above), I've created a new node type. It's an event with dates, location and other data. I want the event discussed in my forums, but I don't want to create a new forum entry in parallel with my event node. I'd like my event node itself to appear in the forums, as well as other places on the site (event calendar, etc).
So my idea is that forums should include any node of any type, as long as it is associated with a forum taxonomy term. That is, if I create any node at all and give it the taxonomy term Forum->Events, it will appear in my Events forum.
The current forum package does not work this way. It only shows nodes of type 'forum' and has a forum table which includes all forum nodes. I think both of these 'limitations' could be removed. Unless of course there is good reason for them that I do not see. Which is why I'm asking now.
As I said in my earlier post, I'm willing to contribute to this if others like the idea. Thanks for your input,
-Dave Bèr -- [ Bèr Kessels | Drupal services www.webschuur.com ]
participants (5)
-
Bèr Kessels -
Dave Cohen -
David Cohen -
Gabor Hojtsy -
Moshe Weitzman