<p>You need to create several inputs and apply them to your topics category group. </p>

<ol>
<li>Description field </li>
<li>Assets field for PDF's  </li>
<li>Matrix field that allows the user to add multiple FAQ's</li>
</ol>

<p>In your Services detail page get the category from your category input and output the description: </p>

<pre><code>{% set topic =  entry.categoryInputHandle.first() %}
{{ topic.descriptionFieldHandle }}
</code></pre>

<p>Next in your Resources detail page grab the category and output the PDF and FAQ's. </p>

<pre><code>{% set topic =  entry.categoryInputHandle.first() %}
&lt;a href="{{ topic.assetFieldHandle[0].url }}&gt;PDF&lt;/a&gt;
{% for faq in topic.faqMatrixFieldHandle %}
    {# output the different fields you setup in the matrix… #}
{% endfor %}
</code></pre>

CC BY-SA 3.0
2015-10-30T15:55:24.910Z
2015-10-30T15:55:24.910Z
a-am
<p>Looking for some input on how to setup a Craft site. I have 2 sections of the site containing content grouped by the same set of topics (or categories). </p>

<p>For example, within Services there 6 sub-pages. Resources has 6 sub-pages using the same categories as Services. </p>

<p>In other words there is a page under Services and Resources named Topic 1. In Services the Topic 1 page will contain a description of Topic 1. Under Resources the Topic 1 page will contain PDFs and FAQs related to Topic 1. The PDFs and FAQs would ideally be sorted by a custom order. There are similar pages under Services and Resources for Topic 2, Topic 3, etc.</p>

<p><a href="https://i.sstatic.net/RbtNR.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/RbtNR.png" alt="enter image description here"></a></p>

<p>Recommendations on how to set this up in Craft?</p>

CC BY-SA 3.0
2015-10-30T06:06:26.263Z
So your sections entry type for Services & Resource both have a category inputs that points to your topics category group? You have created entries in both Services & Resources with titles (Topic 1, Topic 2, etc.) And in those entries you have also selected the category with the same name?
a-am
CC BY-SA 3.0
2015-10-30T15:08:33.087Z
Yes, both Services and Resources use the same category group and entries within those 2 sections will have a 1-1 mapping.
Brett DeWoody
<sections><category>
Section/category setup input
# Section/category setup input

(Asked by: username_0 on 2015-10-30)

Looking for some input on how to setup a Craft site. I have 2 sections of the site containing content grouped by the same set of topics (or categories).

For example, within Services there 6 sub-pages. Resources has 6 sub-pages using the same categories as Services.

In other words there is a page under Services and Resources named Topic 1. In Services the Topic 1 page will contain a description of Topic 1. Under Resources the Topic 1 page will contain PDFs and FAQs related to Topic 1. The PDFs and FAQs would ideally be sorted by a custom order. There are similar pages under Services and Resources for Topic 2, Topic 3, etc.

[![enter image description here](https://i.sstatic.net/RbtNR.png)](https://i.sstatic.net/RbtNR.png)

Recommendations on how to set this up in Craft?

**Tags:** sections, category
> **Comments:**
> **username_1**: So your sections entry type for Services & Resource both have a category inputs that points to your topics category group? You have created entries in both Services & Resources with titles (Topic 1, Topic 2, etc.) And in those entries you have also selected the category with the same name?  
> **username_0**: Yes, both Services and Resources use the same category group and entries within those 2 sections will have a 1-1 mapping.  

---

## 1 answers

### Answer by username_1 on 2015-10-30. Score: 1

You need to create several inputs and apply them to your topics category group. 

Description field 
Assets field for PDF's  
Matrix field that allows the user to add multiple FAQ's

In your Services detail page get the category from your category input and output the description: 
{% set topic =  entry.categoryInputHandle.first() %}
{{ topic.descriptionFieldHandle }}

Next in your Resources detail page grab the category and output the PDF and FAQ's. 
{% set topic =  entry.categoryInputHandle.first() %}
<a href="{{ topic.assetFieldHandle[0].url }}>PDF
{% for faq in topic.faqMatrixFieldHandle %}
    {# output the different fields you setup in the matrix… #}
{% endfor %}


---

