Here is the {weblog} code:
{exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="10" disable="member_data|trackbacks"}
<div class="daily">
<div class="entry">
{entry_date format=' %l, %F %d, %Y'}, {focusHour}
<h3>{focusSubject}</h3>
<p> {focusGuest}{col_1}, {col_2}{/focusGuest}<br />
</p><h4>Audio Archives:</h4>
<p> <ul><br />
<li><a href="http://willmedia.will.uiuc.edu/ramgen/archives/{title}.rm" class="real noIndent">RealAudio</a>| <br />
<a href="http://will.uiuc.edu/media/{title}.mp3" class="download">MP3 download</a><br />
</li><br />
</ul><br />
{if focusLinks}</p><h5>Interview links:</h5><p><ul class="links">{focusLinks limit="10"}<li><a href="http://{col_2}">{col_1}</a></li>{/focusLinks}</ul>{/if}<br />
</p><h5>Categories:</h5>
<p> {categories backspace="7"}<br />
<a href="http://{path={my_template_group}/story}">{category_name}</a> •<br />
{/categories}<br />
<div class="posted"><br />
{if allow_comments}({comment_total}) <a href="http://{url_title_path=">Comments</a> •{/if}<br />
<br />
</div> {!-- posted --}<br />
</div> <!-- closes entry --></p>
<p> <div class="entry"><br />
{entry_date format=' %l, %F %d, %Y'}, {focusHour}<br />
</p><h3>{focusSubject}</h3>
<p> {focusGuest}{col_1}, {col_2}{/focusGuest}<br />
</p><h4>Audio Archives:</h4>
<p> <ul><br />
<li><a href="http://willmedia.will.uiuc.edu/ramgen/archives/{title}.rm" class="real noIndent">RealAudio</a>| <br />
<a href="http://will.uiuc.edu/media/{title}.mp3" class="download">MP3 download</a></li><br />
</ul><br />
{if focusLinks}</p><h5>Interview links:</h5><p><ul class="links">{focusLinks limit="10"}<li><a href="http://{col_2}">{col_1}</a></li>{/focusLinks}</ul>{/if}<br />
</p><h5>Categories:</h5>
<p> {categories backspace="7"}<br />
<a href="http://{path={my_template_group}/story}">{category_name}</a> •<br />
{/categories}<br />
<div class="posted"><br />
{if allow_comments}({comment_total}) <a href="http://{url_title_path=">Comments</a> •{/if}<br />
<br />
</div> {!-- posted --}<br />
</div> <!-- closes entry --> <br />
</div> <!-- closes daily --></p>
<p>{/exp:weblog:entries}
Originally I was assigning different classes to the two divs (left and right), and using an {if} statement to filter “10am” entries to the left, and “11am” entries to the right. The left div was given a position:relative and the right was absolute…which caused problems with the footer and other bad things. I was trying to nest these new divs into an existing template, which is probably a bad idea anyway…but the idea of filtering entries into different divs based on values in a custom field (10am or 11 am) should work. Unless I’m misunderstanding something basic, which is certainly possible.
Here’s how I was trying to do that:
{if focusHour == "10am"}
<div class="leftCol">
....
</div> <!--leftCol -->
{if:elseif focusHour == "11am"}
<div class="rightCol">
....
</div> <!--rightCol -->
{/if}
I thought of another way to do this which eliminate the conditional tag:
<div class="{focusHour}">
But the result is the same as seen here.
Oh, for a designer better than me! But I can’t fire myself since I’m the only one on my staff. I love EE but obviously I have a lot still to learn…
Many thanks,
Jack