Difference between revisions of "MovableType"

From HeadBackup
Jump to navigationJump to search
Line 4: Line 4:
 
# Manually rename the .html file to .php
 
# Manually rename the .html file to .php
 
# Change permissions on the file to 644 (some web hosts will prevent .php from running as 666)
 
# Change permissions on the file to 644 (some web hosts will prevent .php from running as 666)
 +
Note that the PHP code may disappear if you try to edit the page after the initial publish.
  
 
== Turn on the Address Book ==
 
== Turn on the Address Book ==

Revision as of 18:32, 18 November 2010

Creating & Generating a "Page" that uses PHP

  1. Create the page and include your PHP code snippet
  2. Export to a .html file like usual
  3. Manually rename the .html file to .php
  4. Change permissions on the file to 644 (some web hosts will prevent .php from running as 666)

Note that the PHP code may disappear if you try to edit the page after the initial publish.

Turn on the Address Book

This feature disappeared with the release of MT4.2, but there is a configuration directive to turn it back on.

To enable the address book feature, place this line in your mt-config.cgi file:

EnableAddressBook 1

Thanks to http://www.movabletype.org/documentation/appendices/config-directives/enableaddressbook.html for this info.