Problem/Motivation
The about section in the help of the Forum module describes containers and forums as hierachically with forums being placed in containers. The functionality has been changed so that for example containers can be placed into forums.
The Forum module creates the content type "Forum posting". This is not mentioned in the help.
Proposed resolution
Rewriting the about section to describe the what containers, forums and topics are and how they can be placed into each other, and that the Forum Modules adds a new content type for this.
Mentioning that as a content type, Forum postings can have additional fields etc. with a link to the Field and Field UI pages. Examples for these are in other help texts; for example in "Managing user account fields" in the User help.
Remaining tasks
User interface changes
API changes
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | interdiff-5-19.txt | 1.2 KB | tadityar |
| #19 | update-hook-help-forum-2471793-19.patch | 4.47 KB | tadityar |
| #14 | update-hook-help-forum-2471793-5.patch | 4.46 KB | drubb |
| #12 | update-hook-help-forum-2471793-4.patch | 2.98 KB | drubb |
| #8 | update-hook-help-forum-2471793-3.patch | 3.13 KB | drubb |
Comments
Comment #1
larowlanContainers can't be inside forums, if they can that's a bug
Comment #2
ifrikThe help text on the add/edit form for containers clearly states that they can be placed inside forums, and the drag-and-drop on the Forum list page also supports this.
So apparently it's intended.
Since there are also use cases for this, we should just change the help text to reflect this new functionality.
Comment #3
drubbifrik is right, containers can be placed inside forums, see the attached screenshot. The difference is, that forums can contain forum topics, and containers can't. They are just used as grouping elements. As for me, it's ok to break down a large forum to smaller forums and group them using containers, so I don't consider this functionality a bug.
I'll have a look at the text!
Comment #4
drubbHere's my patch. I've changed the Drupal 6 Multisite stuff, too :-)
Comment #5
jhodgdonThis looks pretty good, thanks!
One note:
"So they are just used to add structure to larger forum hierarchies." ==> This is not a sentence. It either needs to be combined with the previous sentence, or maybe just dropped?
Another note: Forum topic is not really an "entity", it's a content type specifically. So we should not mention entities here, but call it a content type... I also disagree that we should specifically mention that you can add fields... I think we should just say in the About that the forum module adds a new content type called "Forum post", and maybe link to the Node help for more information about content types. I don't think we should link directly to the field topics.
Comment #6
drubbOk, I've changed it a bit, referring to content types instead of entities, and pointing to the help page for the node module. I've left the fieldability stuff for the moment, because I think many people have a clear idea about the fields necessary for a forum topic, and we should point them in the right direction how to achieve this using Drupal.
Comment #7
jhodgdonWell, we still want the mention of the content type to get into the About section... and the new docs have a comma splice in "Forum topics are a content type, you can extend them by adding fields through the Manage fields tab on the..." . Also the Node topic has all the information about fields, so I don't really see why we need to duplicate it here.
So what I would like to see instead is in the About [NOT in Uses], we add a sentence like:
The Forum module defines and uses a content type called "Forum post"; see the Node module help page for more information about content types and their fields.
Having a separate bullet point about the fields in Uses does not seem like a good idea to me.
Also... I guess the hierarchy stuff is not really quite right now. It says you can have:
- Forums
-- Forum topics
--- Comments
But really it seems like you can have an arbitrary hierarchy of forums and containers at the top level, before you get to the topics/comments. So maybe this whole structure of the docs doesn't make sense to describe as a hierarchy? It's really more of a free-form mess. ;)
How about if we instead have a paragraph about how you can put forums and containers inside each other to make a hierarchy. And then we can have another paragraph about how individual topics get posted to forums, and get commented on?
I just don't think it makes sense to talk about a hierarchy in this way if it's so free-form...
Comment #8
drubbI think we're getting closer, here's a new version.
Comment #9
jhodgdonLooking good!
Do we really need this sentence, do you think?
"Forums are useful because they allow community members to discuss topics with one another while ensuring those conversations are archived for later reference. " ?!? I think it could be removed.
Also this wording is slightly awkward to me: "The Forum module adds and uses a content type Forum topic"... maybe just say "... uses a content type called Forum'?
Anyway, the rest of this looks great! I think it's very clear.
Comment #10
drubbYes, this sentence is kind of bla, I'd agree to remove it. Regarding the content type, it's called 'Forum topic' on the content types page, and I think we should use this name on the help page, too. What do you think?
Comment #11
jhodgdonYes, sorry, should be the same as what you see in the UI. What I meant is that it needs the word "called" in there. ;)
Comment #12
drubbAh, I see! Here's the new patch.
Comment #13
jhodgdonGreat, thanks!
So I finally actually installed and tested the patch, and noticed a couple of small things that I didn't really see before:
a) "A forum is represented by a hierarchical structure, consisting of"
==> This line needs to end in a : because it comes before a list.
b) We don't normally want to use the word "Drupal" in help. So we should pick different names for the sample forums and topics, and probably none of them should end in a . either, like "Installing Drupal.".
The rest looks great and the formatting is good!
Comment #14
drubbOk, next one...
Comment #15
ifrikThanks,
the comments from #13 have been taken up, and the example given for forums and topics are a good choice because they are based on very general knowledge.
All links work correctly, and none refers to a module that could be uninstalled.
The formatting is good.
Just two tips for the future, if you make interdiffs instead addition to the patch then it is easier to review what has changed from one patch to the other, and usual way of numbering is to give a new patch the number of the comment in which it is posted - that way they are easier to find in a longer list of comments. See https://www.drupal.org/node/1488712
Comment #18
jhodgdonOK... I don't want to debate this endlessly, but ... could we choose a more universal example? Keeping in mind that we translate Drupal into a LOT of languages, around the world, I do not think that artichokes are a very universally-known example. Maybe carrots or potatoes would be a better choice? Also maybe the reply example could be something about boiling ir baking rather than the generic "you have these options"? We want to make this obvious -- people shouldn't have to think too hard about it when reading this help, and I had to read "you have these options" a couple of times before I figured out what it meant.
Comment #19
tadityar commentedChanged those into something else.
Comment #20
nanda@globalsoftlab commented+1 to rtbc
Makes sense
Comment #21
ifrikThanks,
potatoes work indeed better than artichokes, and the example for a comment also should be easy to understand.
Comment #22
xjmAw, I was enjoying that we had text in the UI about artichokes. ;) But agreed with @jhodgdon that using something a bit more common makes it easier to understand. Thanks @tadityar for the updated patch.
So I'm a bit concerned that in #1 we have the forum maintainer saying this behavior doesn't exist, and if it does exist, it's a bug. Then @ifrik tested it and confirmed that it happens. I did the same:
So it does work and even behaves as one might expect, with the containers grouping topics within the main forum. I agree that we should document the feature if it exists, but I'd like a signoff from a forum maintainer on this since it sets expectations for how forums will be used. So assigning to @larowlan.
Comment #23
xjmComment #24
jhodgdonIf someone fixes the Forum module so that this behavior doesn't exist, then that patch should update the help. Meanwhile, we need the help to reflect what the module actually does, right?
I've left a message in IRC for larowlan since it has been two weeks and no feedback yet. But my feeling is that the docs need to reflect what the module currently does. @larowlan: please set to RTBC or else postpone this on another issue that is fixing the possibly buggy behavior. Thanks!
Comment #25
larowlanYeah ignore me, the interface text clearly states
Containers are usually placed at the top (root) level, but may also be placed inside another container or forum.- no idea where I came up with that idea.Comment #26
xjmExcellent, thanks @jhodgdon and @larowlan!
This issue only changes user-facing strings and markup, so per https://www.drupal.org/core/beta-changes, this can be completed any time during the Drupal 8 beta phase. Committed and pushed to 8.0.x.