January 19, 2003

sadness...

so yeah, I've been creating all my files throughout my website using php and having my menu and other features as php includes. However, our index files for MT are .html which means i can't use php includes. Any ideas on how to change the extension through MT? I was successful in getting my archive pages to change, but I can't find a setting for the index file. Any help would be appreciated it would be sad for the code to go to waste. Thanks

-Ryan

Posted by at January 19, 2003 06:18 AM | TrackBack
Comments

I replied to Ryan via e-mail, but for those interested, this is easy to do on the templates page. Select the template you want to change (in this case, the main index template, and go to the edit screen. One of the options at the top is the file name to output -- change that from index.html to index.php. Then save and rebuild.

Don't forget to delete the old index.html page when you're done rebuilding, or it will be displayed instead of the new index.php page.

Posted by: Liz on January 27, 2003 04:57 PM