Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am seeking to build an FAQ page that covers a few different types of topics, thus creating a need for sections, preferably with links. Like below:

An FAQ page with sections.

I am using Drupal 8 and have the FAQ Field module installed. I'm having trouble creating a content type since I cannot add the FAQ Field multiple times to the same content type. Does anyone have any ideas?

share|improve this question
    
Why can't you add the FAQ Field to multiple content types? It is just a field type so adding it to content or entity types should work. Are you saying it does not appear in the list of existing fields? – Kevin 1 hour ago
    
I can add it to multiple content types, but I can't add it multiple times to the same content type. Sorry, should have been more clear. – pshowell 1 hour ago
    
Possibly Double field can handle this. drupal.org/files/double_field_faq.png – ya.teck 20 mins ago
    
By "Double field" I think @ya.teck means changing the field settings to allow "Multiple Values". This would work well for multiple FAQ items, but not sections. You should not have any trouble adding a new field of FAQ Field type to the same content type. Are you attempting to add the same field instance to the content type? This is not possible. But it does not matter because you can create a new field instance with a different name e.g. field_faq_general, field_faq_printing, field_faq_binding,n etc... – mradcliffe 5 mins ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.