Hi all,
I’m creating a template that loads FAQ’s based on the category that is in segment_2. I am using seg2cat in order to get the ID of this and then using that in my loop, shown below:
{exp:channel:entries channel="faqs" dynamic="yes" category_id="{segment_2_category_id}”}
The URI is domain.com/faqs which loads all the FAQs in the system, this works.
Otherwise, domain.com/faqs/renewables would use the ‘renewables’, find the ID (which it does) however it doesn’t load any content associated within that category at all.
Can anyone help me shed some light on what on earth is going on? haha
Andy
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.