I’ve got most of this worked out, but am running into another problem with navigation. Here’s my template:
{embed=layout/html_open}
<div id="page">
{embed=layout/header location="news"}
<div id="main">
<div id="content">
{!-- show "news" or "important facts" teasers --}
{if '{segment_3}' == 'C8' || '{segment_3}' == 'C10'}
{exp:weblog:entries weblog="sec_news" sort="asc"}
<h2>{title}<span class="date"> {entry_date format="%M %d, %Y - %h:%i %A"}</span></h2>
<p> {page_teaser} <a href="http://{title_permalink=" class="more">Full Story »</a> <br />
{/exp:weblog:entries}</p>
<p>{!-- show "media kit" teasers --}</p>
<p> {if:elseif '{segment_3}' == 'C9'}</p>
<p> {exp:weblog:entries weblog="sec_news" sort="asc"}<br />
</p><h2>{title}</h2>
<p> {page_teaser} <a href="http://{title_permalink=" class="more">Full Story »</a> <br />
{/exp:weblog:entries}</p>
<p>{!-- show "newsletter" content --}</p>
<p> {if:elseif '{segment_3}' == 'C11'}</p>
<p> {exp:weblog:entries weblog="sec_news" sort="asc"}<br />
</p><h2>{title}</h2>
<p> {page_body} <br />
{/exp:weblog:entries}<br />
{/if}</p>
<p> </div><br />
<div id="column"><br />
<ul class="sectionnav"></p>
<p> {exp:weblog:categories weblog="sec_news" style="linear"}<br />
<li><a href="http://{path=content/news}{category_url_title}" class="active">{category_name}</a></p>
<p> </p>
<p><br />
{if '{category_id}' == '9' && '{segment_3}' == 'C9'}</p>
<p>[[ NESTED LIST ITEMS GO HERE -- links to content items for category 9 ]]</p>
<p>{/if}</p>
<p> </p>
<p> </p>
<p><br />
</li><br />
{/exp:weblog:categories}<br />
<br />
</ul><br />
</div><br />
</div><br />
{embed=layout/footer}<br />
</div></p>
<p>{embed=layout/html_close}
The bit near the end (with the extra white-space so I can find it quicky) is where I’m stuck. The conditionals are working. Everything is displaying as it should, and where I have above indicated within square brackets that I want a nested list, test content I put in here does appear in my pages when I’m in the right category. Yay!
What I can’t figure out here is the syntax for building the links to C9’s individual entries. Oh, and I’ll need to mark the appropriate entry link as active if that particular entry is loaded.
I assume this is fairly simple, but I can’t seem to get it right after I figured out all the “hard” stuff.