I tried finding out how to fix my perl code problems on the MT site (moveabletype.org) but to no avail. I'm hoping I can ask here?

My blog: http://www.jessicamartin.org/blog

I am building my blog in a homogeneous fashion, meaning that the header and the footer on my blog will remain the same and the only things to change on my blog are 1) my left nav with my archives by the month and 2) the indvidual entry when a user clicks on a specific date.

My calendar is not behaving. This is what is going on 1) when I click on the archive months, the current month remains the same ?!? this defeats the purpose of clicking on the archive month to begin with. what should happen is, users should click on the archive month and that chosen month should replace the current month and 2) when i add test entries to the current month of may, the other entries in the month dont work at all. only the current entry works even when i click on other days of the month.

Here is the code that I am using for my left nav/archive/calendar include:

<div id="links"> <div align="center"> <table border="0" cellspacing="4" cellpadding="0" summary="Monthly cal +endar with links to each day's posts"> <caption class="calendarhead"><$MTDate format="%B %Y"$></caption> <tr> <th abbr="Sunday" align="center"><span class="calendar">Sun</span></th +> <th abbr="Monday" align="center"><span class="calendar">Mon</span></th +> <th abbr="Tuesday" align="center"><span class="calendar">Tue</span></t +h> <th abbr="Wednesday" align="center"><span class="calendar">Wed</span>< +/th> <th abbr="Thursday" align="center"><span class="calendar">Thu</span></ +th> <th abbr="Friday" align="center"><span class="calendar">Fri</span></th +> <th abbr="Saturday" align="center"><span class="calendar">Sat</span></ +th> </tr> <MTCalendar> <MTCalendarWeekHeader><tr></MTCalendarWeekHeader> <td align="center"><span class="calendar"> <MTCalendarIfEntries><MTEntries lastn="1"><a href="<$MTEntryPermalink$ +>"><$MTCalendarDay$></a></MTEntries></MTCalendarIfEntries><MTCalendar +IfNoEntries><$MTCalendarDay$></MTCalendarIfNoEntries><MTCalendarIfBla +nk> </MTCalendarIfBlank></span></td><MTCalendarWeekFooter></tr></MTCa +lendarWeekFooter></MTCalendar> </table> </div> <div class="sidetitle">Archives</div> <div class="side"> <MTArchiveList archive_type="Monthly"> <a href="<$MTArchiveLink$>"><$MTArchiveTitle$></a><br /> </MTArchiveList> </div> </div>

If this is not the right place to post this, please forgive. But if it is the right place, any help people can offer is greatly appreciated =)

-Jessica

20040520 Edit by Corion: Added formatting, linkified link


In reply to MT perl question by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.