I am setting up an Advice column (sort of like "Dear Abby") and FAQ does almost everything I need; with the Subscriptions module I'm 98% there. But I need to be able for the user to be able to ask a question, then have the expert ("Abby") answer at some other time. Unfortunately, the answer field is required and cannot be left blank.
I'm thinking of a small hack to add a default value on the entry form to set it to "Waiting for an answer." I'm not super happy with this as I have other FAQ categories that shouldn't be this way. Can this be done in a more "elegant" way?
BTW, when I'm done, I intend to create a "How To" page in the Handbook because I think a lot of people might like to have a advice, or "ask the expert," feature.
Comments
Comment #1
stella CreditAttribution: stella commentedYou should check out the Question module. I contacted the maintainer a while back about integrating the two modules to provide such a feature but never heard back. I'll follow up on that again.
Cheers,
Stella
Comment #2
NancyDruThat looks promising, but I want this part to happen without intervention: "Administrators can view the queue and choose to create question/answer nodes..." FAQ does this - at least with "Waiting for an answer."
The only other improvement might be setting the question unpublished until it's answered. Actions/Workflow might be able to handle this.
Comment #3
stella CreditAttribution: stella commentedHi Nancy,
I'm also going to address some of the issues raised in your Ask the Expert article if you don't mind. The "waiting for an answer" hack is definitely not ideal and hopefully we can come up with an alternative solution.
Thoughts? Comments?
Cheers,
Stella
Comment #4
NancyDruWow, Stella,
I believe I mentioned in the article that you are one of the most responsive module owners, but this is incredible!
Indeed my hack is not something I like to do or really want to maintain. On the other hand, I'm not crazy about asking you for any more settings or permissions.
I'm pretty sure I've seen postings that said Actions/Workflow would be able to do this, but I've not used them yet.
Comment #5
NancyDruHaving had a bit more time to ponder and experiment, 'create unanswered faq' is definitely a good thing. I had to open "create faq" up to a lot of people I didn't want to have it (which probably means I'll have to check if with the Spam module). I don't think I mind these people having "edit own" - at least until the question is answered.
I'm beginning to think the Question-type front-end is a better way to go. I'm going to have to spend a little time designing it. If I remember correctly, an "faq" is pretty much a standard story node with the question as the title and the answer as the body. So, rather than "node/add/faq" I could create a node object and save it, then allow the "expert" to edit it. If it's marked unpublished I think Subscriptions will still notify them. And a simple "WHERE status=0" query would show them the "queue." This doesn't sound terribly complicated.
Comment #6
stella CreditAttribution: stella commentedCan you tell me more about the Question-type front-end you're creating? I don't completely follow how it will work. Is it a patch to the Question module?
The main problem with creating unanswered question nodes is the published vs unpublished thing, which is why the "Question" module is better in this regard. This is because the unanswered questions aren't nodes and are put into a queue where anyone with the appropriate permission should be able to create nodes from them once answered. I don't think I can (or should) create a permission that controls who can change the published status of a faq node. However, there are somemodules out there that might be able to do this, or could with a patch: Node Approval, Override Node Publishing Options or modr8 to name just a few I found on a quick search.
Cheers,
Stella
Comment #7
NancyDruFirst, I'm not married to the idea of a new module. If there are better ways, I'd like to investigate them.
If I create it, it will be from scratch and only for FAQ. It would operate as an add-on. I believe the module can change the published status without regard to the permissions (so I will have to make sure I know who is doing it). I'd like to accomplish this without resorting to any other module dependencies.
My initial thoughts are:
Right now, I'm still struggling with how to associate experts with categories. I'd rather avoid creating a table, but I may have to. And that means another form to link experts with categories. This might, however, remove the need for Subscriptions since I'd be able to get the expert's email address(es) from the Users table.
Comment #8
stella CreditAttribution: stella commentedFor associating experts with categories/terms, check out the following modules: Taxonomy Access Control, Taxonomy Access Control Lite, Taxonomy Role and Vocabulary Permissions.
Most of these do it on a user role basis - depending on the number of experts this may be suitable. However, the Taxonomy Access Control Lite one also allows you to grant permissions per user, i.e. give a specific user access in addition to what his/her roles allow. This might be more what you are looking for.
I'm happy to add "unanswered questions" support to the FAQ module. It's just a matter of deciding what's the best way (and most extendible way) to do it.
Cheers,
Stella
Comment #9
NancyDruI have this part handled. I really don't want to require any additional modules.
Thanks for the offer, but I don't think I'll need the added permission. I'm nearly finished with this; I will email it to you for initial testing when done.
Comment #10
NancyDruMy article,"Ask the Expert" or Advice Column, is now published on DO.
The FAQ_Ask module to implement this feature is now available separately and is looking for beta testers.
Comment #11
stella CreditAttribution: stella commentedThis feature is now provided by the FAQ Ask module, so closing this issue.
Cheers,
Stella
Comment #12
(not verified) CreditAttribution: commentedAutomatically closed -- issue fixed for two weeks with no activity.