It would be very helpful if the main FAQ page would display the node links of each individual FAQ node -- similar to how a Views listing can list nodes in their teaser form complete with the node links. By displaying the node links, normal functions like voting, bookmarking and adding comments could be performed directly from the main FAQ page.
This would probably inadvertently fix the problem described at #214281 where HTML entities are being escaped in the "read more text link" setting.
Comments
Comment #1
stella commentedI'm unsure what you mean. Would it be possible to provide a screenshot?
Cheers,
Stella
Comment #2
Christefano-oldaccount commentedI don't have FAQ installed at the moment and cannot easily provide a screenshot.
What I'm talking about are the "Back to Top" and "Read more" links that appear at the bottom of each FAQ entry. At first glance these look like node links of a node but they're not. If FAQ entries can have comments, for example, the links don't include an "Add new comment" link (which the comment module inserts into the $links array) along with the FAQ module's "Back to Top" and "Read more" links.
The feature I'm requesting is for an option to display these node links (like "Add new comment") when the FAQ settings are set to list the FAQ entries as a list.
Comment #3
stella commentedHi christefano,
It's not something that I would like to add to the faq module. I don't see a high demand for it and it would add yet-another-option to the configuration screen. So for the moment, I'm not planning on implementing this feature, but if enough other people request it, then I may re-consider in the future.
Cheers,
Stella
Comment #4
Christefano-oldaccount commentedOkay, thanks.
Comment #5
stella commentedMarked #229496 as a duplicate of this issue.
Comment #6
nancydruStella, whenever you get back, I think a lot of little things like this (and the image_attach issue) would be automatic if we could figure out a way to use node_view instead of code in the module. The primary problem is dispensing with the title and "submitted by" stuff.
Comment #7
nancydruWell, one nice thing in 6.x is that node_teaser allows one to change the preferred teaser length from the standard post setting.
Comment #8
nancydruI wanted to leave a follow up comment to an FAQ and realized another benefit we would get from node_view: Comments. While some of us know how to do that and even to see them, I suspect the vast majority of my users, and the expert in this case, will never see my comment... Oh well.
Comment #9
stella commentedI'm not sure if we can use node_view(). There is a way of getting it to not display the title ($page = 1), however I don't see how we can disable the "submitted by", taxonomy term list, etc. However, we could implement some of the missing functionality from node_view(), e.g. population and display of
$node->linksandnode_invoke_nodeapi($node, 'alter', $teaser, $page);. I'd be inclined to implement the former as an option - not everyone may want the node links (comments, etc) to appear.Cheers,
Stella
Comment #10
stella commentedHi,
This feature has now been implemented on the 5.x branch. I would attach a patch, except I did a major overhaul of the code in order to make it easier to implement. If you want this feature it would be better to try the next dev release (available later today).
I'm now going to look at how to implement it for Drupal 6.x. Due to the theme changes in Drupal 6.x, it's not a straight-forward port and may take another week to get working, assuming I can do so!
It'd be great if you could test out these new changes.
Cheers,
Stella
Comment #11
nancydruOkay, here's my first pass at it.
"Add new comment" is a definite improvement. However, there is no indication that there are and comments already posted. Yes, I can click on the title and see them, but the vast majority of my users don't know they can do that, nor is there any reason for them to do so. If there was a link that said "2 comments" and took them to the node page, that would be a big help. Or turn the "read more" link on if there are comments.
The "Default Sorting for Non-Weighted FAQs" didn't change the order of my display. I need to make sure there is no reason why it shouldn't.
Comment #12
stella commentedThe "2 comments" type link is controlled by the comments module and only appears when viewing teasers.
The "Default Sorting for Non-Weighted FAQs" only affects faqs who do not have an entry in the faq_weights table. It worked before the code overhaul, but maybe something broke since. Will test this area again.
Cheers,
Stella
Comment #13
stella commentedThe "Default Sorting for Non-Weighted FAQs" option is working fine for me. However, I have noticed that with the "weight" module installed the order got changed even though I modified nothing when editing the node. At least with the version of the weight module I have installed, when a faq node is created, it's given a weight (n.sticky) of -100, but when you edit it, it is changed to -60! Disabling this module caused all nodes to be created with a weight of 0 and editing the node subsequently didn't change this value. Perhaps you're running into something similar?
Cheers,
Stella
Comment #14
stella commentedThis is now implemented for the Drupal 6 version as well. If anyone could test the D5.x or D6.x versions for me, that would be fantastic!
Cheers,
Stella
Comment #15
stella commentedReleased in faq versions 5.x-2.10 and 6.x-1.6.
Cheers,
Stella
Comment #16
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.