Search Engine / Function

Changed a piece of code in Search.pm

for people interested: [download here the MT-Search Engine]

Code Sample: (line 348 of Search.pm)
$result_data{‘MTENTRYLINK’} = $blog->archive_url . $sep . $entry->archive_file;
changing to:
$result_data{‘MTENTRYLINK’} = $blog->archive_url . $sep . $entry->archive_file . ‘#’ . (sprintf “%06d”, $entry->id);

100% satisfied I am! Searching and going direct to the entryID .. I tell ya:
Movabletype rocks !

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.