Help - Search - Members - Calendar
Full Version: Recent Posts Only Update On Main Index
Movable Type Community Forum > Using Movable Type > Entries and Archives
JosieC
Hi all...

I hope I'm just overlooking something stupid here, but I'm curious why, when I create a new entry, it's not being listed in my "recent posts" section of the sidebar anywhere else but on the main index. It's only when I rebuild the entire site that the entry finally shows up in the "recent posts".

I used a Widget Set to create the sidebar, including the recent posts widget:

CODE
<div class="widget-archives widget">
<h3 class="widget-header">Recent Entries</h3>
<div class="widget-content">
<ul class="widget-list">
<MTEntries lastn="10">
<li class="widget-list-item"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTEntries>
</ul>
</div>
</div>


This happens in each of my blogs, Cragar's Gallery, puppytoes.net blog, and Shop Blog so I know it has to be something dumb I'm missing.

In the case of "Cragar's Gallery", I don't even use categories, just individual entries. Clicking on an older entry still doesn't show the most recent post unless I rebuild.

In the publishing options, I have the preferred archive type as Entry (and it's worked fine in the past, before I upgraded to MT4), so I'm not sure what's happening. It's really a PITA to rebuild every time I want recent entries to appear.

Can anyone point me in the right direction?

Thanks.
Joanne smile.gif
test17
hi - i have a similar problem in MT 3.2... i use an include code to publish the recent posts in my sidebar but seem to have to rebuild the whole site/blog each time i publish a new entry in order to have it appearing the recent posts all over the blog...

here is my include code that is called... thanks for any tips on why it won't auto update when i publish a new entry


<MTInclude file="/recentposts.html">


include code above calls this file/code below


div class="module-archives module">
<h2 class="module-header">Recent Posts</h2>
<div class="module-content">
<ul class="module-list">
<MTEntries lastn="10">
<li class="module-list-item"><a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a></li>
</MTEntries>
</ul>
</div>
</div>
OtherNiceMan
That is correct, you need to rebuild the page for the update.

Server Side includes might be the way forward
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.