Is there a possibility to have Search Form for forums (topics) for Drupal 7 version of Advanced Forum? It works fine for Drupal 6 with Node Comment, but Node Comment for D7 doesn't exist and and most likely will not be... And for Advanced Forum has worked with email notifications, Node Comment is required as well? I have Comment Notify installed in my D7 website, it works for comments for site, but not for forum's posts and comments...
Is it possible create search form for forums using Views? I see that there are some search templates in styles > naked folder, and I see that they work with Views... but how can I implement this ones?
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#10 | Embedding view in the search forum.png | 29.21 KB | Codenext |
Comments
Comment #1
troky CreditAttribution: troky commentedSearch function will be added in future versions.
Comment #2
scottsawyerAny development on search or subscription? seems like both of these are pretty much standard fare for a forum.
Has any body had success with any of the notification, subscription modules?
** I noticed in the styles folder for naked, there is a template file for searching. It sends a get variable to a search widget. Is this working some place?
Comment #3
MichelleIt works in Drupal 6. Because the functionality relied on Node Comment, it's quite possible it wasn't ported to Drupal 7.
Comment #4
scottsawyerHello Michelle,
Thank you so much for the fast response, and all your work on this.
I did find the Subscriptions module and I am testing it out now. There is a Beta for D7, crossing fingers now.
When you say Node Comment, are you referring to search functionality? Is there anything specific I should be looking for to have search on my forum topics (and comments)?
The reason I ask is because I can not find a search feature on my forum. I added the drupal search in a block, but it always returns "No Results", even when I go to advanced search and search only on Forum content.
Thanks again.
** edit **
The built in Drupal search does seem to find the forum topic, but not the comments. Again, any help would be appreciated.
Comment #5
MichelleThe Node Comment module is required for the forum specific searches because it's a Views based search and that requires the thread to be a view rather than the normal node + comments.
The Drupal search isn't thread or forum specific but should work just fine on forum content. Possibly you haven't indexed your site.
Michelle
Comment #6
Codenext CreditAttribution: Codenext as a volunteer commentedComment #7
Codenext CreditAttribution: Codenext as a volunteer commentedSince this topic is 5 year old, Has any one yet figured out any other way to add search form in the Advanced Forum? Thanks.
Comment #8
Codenext CreditAttribution: Codenext as a volunteer commentedIn search of solution for incorporating the search form to the forum pages, I have posted the question on Drupal Answers as well and found the solution. I am quoting the answer as it is under 1.
1. Embedding advanced search form view in the forum
Link: How to add Search form/Advanced search form view to advanced forum pages?
By this way you can add the advanced search form view at to top, under the title of the forum and you can also specify on which page it should appear and on which page not.
2. Other similar approach:
1. Inspired from the above answer and with some more research I have found other solution also. For this you can use Custom search module. As custom search module has a feature of defining the option to search the content for perticular content type, and this way you can define only Forum, which you can enable from the module configuration. And moreover, you can set that option as drop-down option same as provided by the advanced search form view. See attached image. Now this all thing comes as a block.
2. Now you can embed this block in the forum under the title of the forum as per method mentioned in the first option.
Comment #9
Codenext CreditAttribution: Codenext as a volunteer commentedImage for the 1 approach mentioned in the comment #8.
Comment #10
Codenext CreditAttribution: Codenext as a volunteer commentedImage for the 1 approach mentioned in the comment #8.