Blog

First Clients Find First Bugs

September 4, 2009

image This might be funny, or it might just be Friday, but I thought I’d share.

Kathryn Lord, owner of Find-A-Sweetheart, contacted me today.  Her blog has a list of monthly archive links on the right-hand side of the page. But she was noticing that her oldest months archives were not appearing.  What could be going wrong?

Well, it turns out that the documentation for ExpressionEngine’s monthly_links function looks like this:

{exp:weblog:month_links weblog="news" limit="50"}
{month}
{year}<br />
{/exp:weblog:month_links} 

And the limit of 50 months is reached about 4 years.  Which is when Kathryn started blogging—she was one of our first clients to do so, and she’s never missed a month. So, congrats, and beware of the default instructions sometimes!

Posted by Travis Smith at 4:35 PMTracker Pixel for Entry


Comments

Thanks. Good men

By Sesli Sistem on Oct 11, 2009

Strange to put a limit there. i would think that you want you’re archive to go back to the firts post.

Thanks for sharing

By Vakantie Toppers on Jan 22, 2010

Can i just remove this limit or should it be 0?

Thanks

By Vakantie Toppers on Jan 22, 2010

Add Your Comment

Please enter the word you see in the image below:


From the Blog

  • Click to fill out the Hop Studios Quote Request Form



 

Recent Blog Posts

RSS Feed


Archives