I am trying to create an FAQ page for multiple store locations within EE2.1. So my thinking is to assign the Category Group that has all of the stores listed to a FAQ Channel.
Many of the locations will share the same Questions so I am assigning each Channel Entry to a Location category (i.e. city). So when I create the navigation link for each Location, the Questions assigned to that specific Category will be displayed on the appropriate Location page via URL Segment (/template_group/template/location/). What is the best way to set this up? I can’t get the specific Questions assigned to the Category to display based on the URL. I know I am missing something.
Here is some of the code I have. I tried adding category=”” (which is all of the store locations):
<ul class="section_menu">
{!-- The titles of the faq channel are the questions --}
{exp:channel:entries channel="faq" disable="member_data|comments|trackbacks|pagination" show_future_entries="yes" show_expired="yes" orderby="entry_id" sort="asc" category="4|5|6|7|8|9|13"}
<li><a href="#{title}">{title}</a></li>
{/exp:channel:entries}
</ul>
{!-- Answers go here --}
<dl class="faq">
{exp:channel:entries channel="faq" disable="member_data|comments|trackbacks|pagination" show_future_entries="yes" show_expired="yes" orderby="entry_id" sort="asc" category="4|5|6|7|8|9|13"}
<dt id="{title}">{title}</dt>
<dd>{answer}</dd>
{/exp:channel:entries}Thanks! Jeff.