mu.nu - It's mackerel stewed in chocolate!
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?
EricPosted by: EricC at 12:33 AM | Comments (9) | Add Comment | Trackbacks (Suck)
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
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.
Processing 0.0, elapsed 0.0107 seconds.
22 queries taking 0.008 seconds, 26 records returned.
Page size 7 kb.
Powered by Minx 0.8 beta.