You've been really busy at work and your kids are sick and your dog needs to go to the vet and you just don;t have any time to post this week. All of a sudden, your blog is blank. The only thing on it is your banner and your links.
"Madfish," you ask, "how to prevent a blank blog?"
Good question. First you go over and read the instructions over at the MT Users Manual.
Then, you scratch your head and wonder what you just read. To make it easier for you to understand, here is some code.
<MTEntries lastn="20">This code will display the last 20 posts you've made, regardless of the date of the post. You modify the existing code in the body section of your Main Index Template.
I also use this portion of code in my Recent Entries to display the titles of the 10 most recent posts that have just scrolled off the front page.
<<div class="sidetitle" align="center">
Just Off The Page
</div>
<div class="side">
<MTEntries lastn="20" offset="10"> [display post titles 21 - 30]
<a href="<$MTEntryPermalink$>"> [link to post]
<$MTEntryTitle trim_to="35"$> [trim post title to 35 characters so it won't line wrap]
</a> [close link tag]
<br /> [insert a line break after each post title]
</MTEntries> [close MT tag]
</div> [close side div]
Things to keep in mind as you set your number of posts:
I'm trying to do some new things to my blog and I need the path/to and I cant find it around here.
for example:
/usr/home/blahblah/public_html/
Anyone know?
Thanks
Ms Alex:
Go to the [WEBLOG CONFIG] button on th eleft side of your screen after you login. The first screen should have what you are looking for.
Posted by Madfish Willie at May 11, 2004 02:36 AM<Sherlock Holmes> Elementary, my dear Emma, elementary! </Sherlock Holmes>
Posted by Madfish Willie at May 11, 2004 05:04 AMMr Madfish, is there a code to have an IF statement, something like give me the last 8 days of posting OR the last 20 posts, whichever is fewer????
Posted by Simon at August 30, 2004 09:45 AM