May 11, 2004

MuNuby Help - Blank Blog?

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:

  • How many posts do you average per day?

  • How many days do you want to display?

  • What type of content do you post... a lot of images... long extended posts?

  • The more posts you keep on your front page, and the post content and length will determine hoe long it will take to load the page

Posted by Madfish Willie at May 11, 2004 02:29 AM
Comments
#1

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

Posted by alex at May 11, 2004 02:34 AM
#2

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
#3

Thank you very much! I appreciate it!

Posted by Alex. at May 11, 2004 02:43 AM
#4

Thanks for all your work MW!

Posted by Pixy Misa at May 11, 2004 04:35 AM
#5

Most excellent advice, MFW! You, as always, RAWK!

Posted by Emma at May 11, 2004 05:00 AM
#6

<Sherlock Holmes> Elementary, my dear Emma, elementary! </Sherlock Holmes>

Posted by Madfish Willie at May 11, 2004 05:04 AM
#7

Mr 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
Live Comment Preview
Post a comment









Remember personal info?