I am trying to set it up so that the super admin and manager can see articles with the status of “Draft”
Below is the code I am using. When I view the page I can see articles with the status of “Announcement” and “Open” but not “Draft” I’m redirected to my 404 page. I’ve used this same idea in an EE2 site and it works great. I can’t figure out what it is I’m doing wrong here and am hoping that one of you will.
thanks
Jules
{if logged_in_group_id == 1 || logged_in_group_id == 6 }
<!-- =========================================================== -->
<!-- ! ARTICLES LISTED IF SUPER ADMIN OR MANAGER -->
<!-- =========================================================== -->
{exp:weblog:entries weblog="equine-news" limit="1" status="Announcement|Open|Draft" disable="member_data|pagination" }
<div class="postheader clearfix">
<span class="date"><strong>{entry_date format="%M"}</strong>{entry_date format="%j"} <small>{entry_date format="%Y"}</small></span>
<h3 class="title-post"><a href="http://{title_permalink=">{exp:xml_encode}{title}{/exp:xml_encode}</a></h3>
<h4 class="author-post clearfix">
<span class="trans-none floatleft">By </span>
<span class="floatleft">{author} </span>
<span class="trans-none floatleft"> | Category(s):</span>
<span class="categories floatleft">{categories show="not 6" limit="2"}<a href="http://{path=">{category_name}</a> <br>{/categories}</span>
</h4>
</div><!-- /postheader -->
<div class="share-this">
[removed][removed]
</div>
{article-body}
{/exp:weblog:entries}
{/if}
{if logged_out}
{exp:weblog:entries weblog="equine-news" limit="1" status="Announcement|Open" disable="member_data|pagination" }
blah blah blah
{/exp:weblog:entries}
{/if}