hi all,
i’m trying to return entries from two different weblog categories (same blog) within a single if:elseif statement. can i not do this? here’s the code:
{exp:weblog:entries weblog="board_bulletins" category="25"}
<h1>{title}</h1>
{bod_body_copy}
{/exp:weblog:entries}
<h2>Meeting Materials by date:</h2>
<p>{exp:weblog:entries weblog="board_bulletins" category="29"}<br />
<a href="http://{title_permalink=board_bulletins/index}" title="{title}">{title}</a><br />
{/exp:weblog:entries}it fails on this page: http://www.fchealth.org/index.php/board_bulletins/fch_board/ when it’s contained within an if/if:else
{if segment_1 == 'board_bulletins' AND segment_2 == ''}
{exp:weblog:entries weblog="board_bulletins" entry_id="94"}
<h1>{title}</h1>
{bod_body_copy}
{/exp:weblog:entries}
{if:elseif segment_1 == 'board_bulletins' AND segment_2 == 'fch_board'}
{exp:weblog:entries weblog="board_bulletins" category="25"}
<h1>{title}</h1>
{bod_body_copy}
{/exp:weblog:entries}
<h2>Meeting Materials by date:</h2>
<p>{exp:weblog:entries weblog="board_bulletins" category="29"}<br />
<a href="http://{title_permalink=board_bulletins/index}" title="{title}">{title}</a><br />
{/exp:weblog:entries}</p>
<p>{/if}but works here: http://www.fchealth.org/index.php/board_bulletins/test/ without the if/if:else.
any ideas?
thanks,
vanessa