August 29, 2005

Anyone seen this before?

My left menu is an include file called using PHP rather than an MT module. This lets me change it on the fly without any rebuild necessary. Only problem. If I put MT tags into it, they don't work correctly. Has anyone tried doing what I'm doing, and if you have, have you run into this and solved it? If so, let me know the trick, please?

Eric

Posted by EricC at August 29, 2005 12:33 AM | TrackBack
Comments
#1

Eric:

MT processes all the Movable Type tags before calling the php include, so the MT engine doesn't even see the tags in the include.

The only workaround I'm aware of is to use MT modules instead, but then you inherit the performance hit etc that entails.

Paul

Posted by Light & Dark at August 29, 2005 02:12 AM
#2

Hmmmmph

Posted by Eric at August 29, 2005 02:43 AM
#3

Can you set the necessary includes as variables in the index page and then call back from the php page?

Posted by Jim at August 29, 2005 11:02 AM
#4

I might be able to set them as variables in the header, then call the variable in the php script. I'll have to try that on my test page.

Posted by Eric at August 29, 2005 03:06 PM
Live Comment Preview
Post a comment









Remember personal info?