Creative Commons 2.0 in Movable Type

January 17th, 2005 by 바람

Arvind Wrote in his blog:

In MT, use of the <MTBlogCCLicenseURL> has been hardcoded to the 1.0 licenses, however these have been outdated and v2.0 of the licenses have been released a while ago. So lets hack the files so we can still use the tag.

You’ll need two files, lib/MT/Util.pm and php/lib/cc_lib.php. Find in them the following line

http://creativecommons.org/licenses/$code/1.0/

and replace it with

http://creativecommons.org/licenses/$code/2.0/

Posted by Arvind at October 16, 2004 08:09 PM

That is good way to cahnge CC licence link but although CC licence link is changed, image still displays CC licence 1.0. So in order to display the image correctly, you have to change <$MTBlogCCLicenseImage$> also.

Find in lib/MT/Template/Context.pm and php/lib/function.MTBlogCCLicenseImage the following line

($cc eq 'pd' ? 'norights' : 'somerights');

and replace it with

($cc eq 'pd' ? 'norights' : 'somerights20‘);

Leave a Reply