I am trying to build a page that has the 7 days of the week (my categories) listed as the categories and below that the list of content from the classes weblog to display below the days of the week.. What happens if I don’t put in the if:statement is that the same listing gets put in every day of the week instead of just the day it’s suppose to. I know I am doing the if statement wrong, cause now nothing is showing up…
First I had {if category == ‘category_name’} but that didn’t work either… Am I trying to something that can’t be done?
<div id="content">
{exp:weblog:entries weblog="{my_weblog}" entry_id="21" limit="1" disable="member_data|trackbacks" dynamic="off"}
<h6>{title}</h6>
{body}
{/exp:weblog:entries}
{exp:weblog:categories weblog="{classes_weblog}" style="linear"}
<div id="classes-day-left">
<h4>{category_name}</h4>
<ul>
{if category == 'TRUE'}
{exp:weblog:entries weblog="{classes_weblog}" orderby="time" }
<li>{time format="%g:%i %A"} | {class-name} with {instructor}</li>
{/exp:weblog:entries}
{/if}
</ul>
</div>
{/exp:weblog:categories}
</div>
