MovableType

From HeadBackup
Jump to navigationJump to search

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.