I must be missing something thats very simple, but I can’t figure out how to do this:
On my homepage I’d like to show the sticky weblog posts (max 3) with their full text, like spotlighted posts, and below that the linked titles of the 5 recent posts, excluding the stickied ones.
I tried doing this by having this:
{exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="3" track_views="one"}
<div class="post">
<div class="post-header">
{date_heading}
<div class="post-date">
<span class="day">{entry_date format='%d'}</span>
<span class="month">{entry_date format='%M'}</span>
</div>
{/date_heading}
<div class="post-info">
<div class="title"><h2><a href="http://{url_title_path=}" title="{title}">{title}</a></h2><p></div><br />
<span class="category">Filed under: {categories}<a href="http://{path=site_index}" title="Click to see all posts in {category_name}">{category_name}</a>{if categories!=1}, {/if}{/categories}by <a href="http://{profile_path=member/index}" title="Click to see {author} profile">{author}</a></span><br />
</div><br />
<div class="clearing"></div><br />
</div><br />
<div class="entry"><br />
{summary}<br />
{body}</div><br />
<div class="post-footer"><br />
<span class="reads">{view_count_one} reads</span><br />
{if allow_comments}<span class="comments"><a href="http://{url_title_path=" title="Click to see and add a comment to this post">{comment_total} comment{if comment_total!=1}s{/if}</a></span>{/if}<br />
{if allow_trackbacks}<span class="trackback"><a href="http://{trackback_path=" title="Click to see the trackbacks to this post">{trackback_total} trackbacks</a></span>{/if}<br />
<span class="permalink"><a href="http://{title_permalink={my_template_group}/comments}" title="Permanent link">Read more</a></span><br />
</div><br />
{paginate}<div class="post-navi"><div class="pagecount">Page {current_page} of {total_pages} pages</div> {pagination_links}</div><div class="clearing"></div>{/paginate}<br />
</div><br />
<!-- end .post --><br />
{/exp:weblog:entries}</p>
<p>{exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="5" sticky="off" track_views="one"}<br />
<div class="post"><br />
<div class="post-header"><br />
{date_heading}<br />
<div class="post-date"><br />
<span class="day">{entry_date format='%d'}</span><br />
<span class="month">{entry_date format='%M'}</span><br />
</div><br />
{/date_heading} <br />
<div class="post-info"><br />
<div class="title"></p><h2><a href="http://{url_title_path=}" title="{title}">{title}</a></h2><p></div><br />
<span class="category">Filed under: {categories}<a href="http://{path=site_index}" title="Click to see all posts in {category_name}">{category_name}</a>{if categories!=1}, {/if}{/categories}by <a href="http://{profile_path=member/index}" title="Click to see {author} profile">{author}</a></span><br />
</div><br />
</div><br />
{/exp:weblog:entries}But this fails, at it shows the same posts:the 3 most recent posts fully, and the 5 most recent posts by title, having 3 doubles.
Anyone can point me in the right direction?
Herko