Help - Search - Members - Calendar
Full Version: Bug in calender (MT2.64) or is it a feature?
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
plantagoo
Hi Folks,

I'm using MT 2.64 at the moment. There is this calendar function in all the templates. I thought clicking on a specific day (i.e. 08/07/2003) would bring up all postings of that single day (i.e. the /archives/2003_08_07.html - which is generated at build and available).

But it will show up with some "obscure" page of the archive (i.e. /archives/cat_elektro.html) - and it's always the same archive-site that shows up.

I found this behaviour on many MT 2.64 powered pages - not only on my own.

I'm using the standard-template and didn't change the code on the calender except the namings of the days.

How can I manage it that by clicking the day the archive-html of that day shows up?

Link to my page: http://geekblog.de

Thanks in advance!

Greetings
Erik
girlie
What do you have set as your "Preferred Archive Type" in Blog Configuration | Preferences?

The MTEntryPermalink tag in the calendar links to your preferred archive page by default, so if you have "Category" as your Preferred type, then you need to change it to Daily, or you need to use:

<MTEntryPermalink archive_type="Daily">
in the calendar code.
plantagoo
Hi!

Thanks on that! I think I need to buy new glasses. I ignored this setting like a hundred times... wink.gif

To set the default to "category" is not a really good idea since all pages I visited using MT are linking their calendar-days to categories - which in my opinion isn't a good idea. A clickable calendar-day should always lead to that specific day (to all postings of that day).

But the most important thing is that I resolved my problem!

Thank you!

Greetings from Germany
Erik
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.