mini tips
search results in a new window
November 09, 2003
How to open search results in a new window:
include extended entry in notifications
November 09, 2003
Find this code in lib/MT/App/CMS.pm (currently at line 2585 in v2.64):
and change it to:
finding the path with PHP
November 09, 2003
Upload as a .php file to your directory and run with your browser:
entry title as tooltip in calendar
November 09, 2003
Have the title of the most recent entry display when you hover over the link in the calendar.
</MTCalendarIfEntries>
mailto link using entry title as subject
November 09, 2003
Code snippet to create an author mailto link using the entry title as the subject:
cc: comment notifications to a second email address
October 04, 2003
Find this code in lib/MT/App/Comments.pm (currently at line 132 in v2.64):
and add this line right after it:
replacing email@domain.com with a valid email address.
number of categories with php
September 20, 2003
Code from Kristine found on the forum:
$count=array(<MTCategories>"<$MTCategoryLabel$>", </MTCategories>);
echo count($count);
?>
php snippet - padded entry id
September 20, 2003
Just a little bit of handy code.
format hour or day without padding
August 10, 2003
Date with no day padding:
Time with no hour padding:
author icons
June 16, 2003
Create icons for each author by naming your graphics with the author name, dirified, then use this code:
Credit: Kristine