nothingcrat
Feb 27 2003, 10:26 AM
Hey, this is my first with MT so bear with me..
I've got a blog page set up & working fine but I can't seem to figure out how to include a "latest entries" section on the index page of my site.. i.e. something that would display titles/dates and link to x-number of the latest entries.
It would be a big help if at least someone could point me to where in the manual this is covered.. I can't seem to find it.
Thankyou
JudiS217
Feb 27 2003, 10:49 AM
Try something like:
CODE
<MTEntries lastn="10">
<a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a>(<$MTEntryDate format = "%b %e"$>)<br />
</MTEntries>
nothingcrat
Feb 27 2003, 10:59 AM
Do I have to include my index page as a template then? It can't just be a page that exists outside of MT that grabs the headlines?
medic119
Feb 27 2003, 12:03 PM
No you index page does not have to be in MT for that to work however you do have to put that code in a template
1) Put the code in its own index template with nothing else. MAke sure it rebuilds every time
2) use PHP or SSI to include the output page in your index.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.