SPECIAL OFFER: Only $59 for access to everything in OSTraining for 1 year! You save $85! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Views and FAQ Field - Filter Problems

3 years 3 months ago #126122 by BamaJohn
Views and FAQ Field - Filter Problems was created by BamaJohn
Hello - I need to search/filter Nodes that have a FAQ Field enabled. The site has 4 categories of FAQs and the intent is to allow a user to enter a word or phrase and have the view present any FAQ that has the search term. Since each of my categories is a Node and the FAQ questions and answers are part of the node I get the entire node returned when maybe just one of the actual FAQs has the term.

So search is working as it returns the Node which has many FAQs that do not equal the search term - what I want is just the matching FAQ question / answer displayed in the view results rather than the full node.

One of the Node manage fields is below in case it helps...

This message has an attachment file.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 3 months ago #126124 by Daniel Pickering
Replied by Daniel Pickering on topic Views and FAQ Field - Filter Problems
Hi Bamajohn,

Which search feature/module are you using for this search ?

Thanks
Daniel

Please Log in to join the conversation.

3 years 3 months ago #126125 by BamaJohn
Replied by BamaJohn on topic Views and FAQ Field - Filter Problems
I am using Views - but open to any ideas/modules

I tried Custom Search and that did not work for my use case.

Please Log in to join the conversation.

3 years 3 months ago #126154 by Daniel Pickering
Replied by Daniel Pickering on topic Views and FAQ Field - Filter Problems
Hi Bamajohn,

Is this an offline site or online?
Can you post a screen of the views configuration ?
And of the search result so I can see what is happening clearly ?
What are you using to provide the FAQ field have you looked at the widget options ?

Thanks
Daniel

Please Log in to join the conversation.

3 years 3 months ago - 3 years 3 months ago #126162 by BamaJohn
Replied by BamaJohn on topic Views and FAQ Field - Filter Problems
Below are attachments that I hope answer your questions.

I am using the FAQ FIELD module which allows adding a FAQ question/answer field to a Node. I have four different Nodes to categorize FAQs - GENERAL, 911, INDUSTRY, PUBLIC. Each node has several questions and answers. I have looked at the widget options but do not see anything that will help... at least with my limited understanding.

FAQ_911 is the content type and all the others look the same - just a different name after FAQ_
FAQ View is where I am at currently on trying to build a view
SearchResults - when searching for "text" you get the FAQ node and all FAQs for that node rather than just the one question/answer that has the word text.

I'm thinking of changing this system to a content type so each Q&A become a node so I can list and search them easier...

This message has attachments files.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 3 months ago #126163 by BamaJohn
Replied by BamaJohn on topic Views and FAQ Field - Filter Problems
Had trouble adding a file to a message via the edit button

This message has an attachment file.
Please log in or register to see it.

Please Log in to join the conversation.

3 years 3 months ago #126164 by Daniel Pickering
Replied by Daniel Pickering on topic Views and FAQ Field - Filter Problems
Thanks Bamajohn,

Is this a drupal 7 site ?

Please Log in to join the conversation.

3 years 3 months ago #126165 by BamaJohn
Replied by BamaJohn on topic Views and FAQ Field - Filter Problems
yes

Please Log in to join the conversation.

3 years 3 months ago #126166 by Daniel Pickering
Replied by Daniel Pickering on topic Views and FAQ Field - Filter Problems
Hi Bamajohn,

I will try and replicate the issue see if I can find a simple solution for it.

Thanks
Daniel

Please Log in to join the conversation.

3 years 3 months ago - 3 years 3 months ago #126180 by Daniel Pickering
Replied by Daniel Pickering on topic Views and FAQ Field - Filter Problems
Hi Bamajohn,

Yes I see the issue I think you will probably need to use an alternative method.

This Module is really designed so you can add FAQs to specific nodes not to make them searchable. Is a drupal article on making your own FAQs i'd advise you follow that.

www.drupal.org/node/1215544

you can leave your content in place while you set up the FAQ system. If you need more assistance let us know.

Thanks
Daniel

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!