Hey thanks Dave! That’s a helpful tidbit I’ll have to keep under my belt!
I ran into a new issue with this. Now it is displaying them in alphabetical order, whether I want them to be pulled onto the page or not, so now I’m onto my next issue.
For an explanation, I have a page I want to display different content based on the Category you are wanting to look at in one of 26 different Channels. There are a total of 63 different categories strung out in the 26 different channels. I want it to do the same as above with all the different categories channels based on if they input side content on their pages. Well obviously I have 26 different if then statements on the same page, but now only one is showing that isn’t even referenced in the url…so I’m stuck for the night.
If anyone wants to analyze this code, they can tell me what stupid thing I’m doing wrong. I’m too tired at this point to figure it out.
{exp:channel:entries category="{segment_2_category_id}" dynamic="no" limit="1" sort="asc" orderby="title"}
{if '{assessor_side_content}' != ""}
<div class="right_3_column">
{assessor_side_content}
</div>
<div class="center_3_column">
{embed="about/two_column"}
</div>
{if:elseif '{auditor_side_content}' != ""}
<div class="right_3_column">
{auditor_side_content}
</div>
<div class="center_3_column">
{embed="about/two_column"}
</div>
{if:elseif '{board_and_commissions_side_conte}' != ""}
<div class="right_3_column">
{board_and_commissions_side_conte}
</div>
<div class="center_3_column">
{embed="about/two_column"}
</div>
{if:elseif '{board_of_supervisors_side_conten}' != ""}
<div class="right_3_column">
{board_of_supervisors_side_conten}
</div>
<div class="center_3_column">
{embed="about/two_column"}
</div>
{if:else}
<h3>{title}</h3>
<p> {content}<br />
{auditor_content}<br />
{board_and_commissions_content}<br />
{board_of_supervisors_content}<br />
{buildings_and_grounds_content}<br />
{communications_center_content}<br />
{communities_content}<br />
{community_services_content}<br />
{conservation_director}<br />
{contact_content}<br />
{county_attorney_content}<br />
{/if}<br />
{/exp:channel:entries}
That’s the general gist anyway.
Sooo, if anyone can figure out my ramblings and thinks they can untangle my mess and help out, I’d be grateful!!
Anyway, my mind is going into shutdown, thanks for tuning in…good night!
Seth