This seems simple, but confounding.
{exp:channel:entries status="sub-Navigation" site="offices" channel="{segment_1}" sort="asc"}
{if segment_2 == url_title}<li><em><a href="http://{site_url}{channel_name}/{url_title}">{title}</a></em></li>
{if:else}<li><a href="http://{site_url}{channel_name}/{url_title}">{title}</a></li>
{/if}
{/exp:channel:entries}Basically, I am just grabbing the above entries and, if one of them happens to be the second segment of the URL, I am wrapping it in an <em>. However, when there is a second segment present, I am only getting the current second segment entry, as opposed to all of the entries I get when there is no second segment present.
I have tried removing the conditional and it still only displays the one entry when there is a second segment present.
Any ideas? Thanks!