Help - Search - Members - Calendar
Full Version: calender & Daily archive
Movable Type Community Forum > Additional Resources > Tips and Tricks
bmk
In the MTCalendarIfEntries part of the Main Index Template, look at the MTEntryLink:    
CODE
<a href="<$MTEntryLink$>"><$MTCalendarDay$></a>


MTEntryLink will link to whatever archive you have set as the Preferred Archive Type (in Blog Config > Preferences).  You could make daily your preferred, or use this code to make it override your preferred:
CODE
<$MTEntryLink archive_type="Daily"$>


Does that help?

Brenna
djyaniv
i use the calender in the main index and i left the default tags excatly as in the template
the problem is that the default refferes to only the last message of the day you select and not the entire day archive.

how do i that the days in the calender will represent the entire day archive (assuming i enabled the "daily archive"

Yaniv
http://www.djyaniv.com/mt/blog/
djyaniv
thanks a lot
i tried it yesterday and it didnt work
now it is smile.gif

in the same subject:
i also use monthly archive, and i want to add the calender to the each of the months archive that each day in the calender will show the day archive for the right day in the right month.

is it ok to copy the calender code from the index?
(i know that somewhere i need to add "month=something"
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-2009 Invision Power Services, Inc.