[MT-users] oops . . where's my main page gone

David Jennings david at alchemi.co.uk
Sat Aug 14 11:24:32 BST 2004


>Je 2004-08-14 01:14:38 +0100, Jem Finer skribis:
>>  this is weird . . . my main page has gone gone gone . . . the archives
>>  are still there (thank god) . . . Last thing I did was delete a comment
>>  and rebuilt the site.  I'm pretty sure it was still there after that .
>  > . anyone know how to bring it back ?
>
>Have you blogged in August? By default MT only shows seven days of
>blogs.

That seems the most likely explanation. To change the number of days 
shown, go to Weblog config, then Preferences.

The other thing I would check is your 'Main Index' template. The main 
body of the home page comes between two <MTEntries> tags. Below is 
what mine looks like.

David


<MTEntries>
<$MTEntryTrackbackData$>

	<MTDateHeader>
	<h2 class="date">
	<$MTEntryDate format="%e %B 0%Y"$>
	</h2>
	</MTDateHeader>

	<div class="blogbody">

	<a name="<$MTEntryID pad="1"$>"></a>
	<h3 class="title"><$MTEntryTitle$></h3>

	<$MTEntryBody$>

	<MTEntryIfExtended>
	<span class="extended"><a 
href="<$MTEntryPermalink$>">Continue reading 
"<$MTEntryTitle$>"</a></span><br />
	</MTEntryIfExtended>

	<div class="posted">Posted in section <a href="<$MTEntryLink 
archive_type="Category"$>"><$MTEntryCategory$></a>
	| <a href="<$MTEntryPermalink$>">Permanent link</a>
	<MTEntryIfAllowComments>
	| <a 
href="<$MTCGIPath$><$MTCommentScript$>?entry_id=<$MTEntryID$>" 
onclick="OpenComments(this.href); return false">Comments 
(<$MTEntryCommentCount$>)</a>
	</MTEntryIfAllowComments>
	<MTEntryIfAllowPings>
	| <a 
href="<$MTCGIPath$><$MTTrackbackScript$>?__mode=view&amp;entry_id=<$MTEntryID$>" 
onclick="OpenTrackback(this.href); return false">TrackBack 
(<$MTEntryTrackbackCount$>)</a>
	</MTEntryIfAllowPings>
	</div>

	</div>



</MTEntries>



More information about the MT-users mailing list