Help - Search - Members - Calendar
Full Version: MTEntryTitle in MTInclude module
Movable Type Community Forum > Additional Resources > Tips and Tricks
btrott
A couple of other people were talking about this the other day--it's due to the fact that values are not double-interpolated in MT. This would require continually interpolating a string until it no longer contains any tags.

The final consensus in the other thread(s) is that it would be cool if MT could handle this, but at the moment the only thing you can do is use SSI (or PHP, etc.).

Like this:

CODE
<!--#include virtual="<$MTEntryTitle dirify="1"$>.html"-->


And then manage the include content as an index template.
bmk
Hi!
In the individual and category archive templates I'm trying to do
CODE
<$MTInclude module="<$MTEntryTitle dirify="1"$>"$>
and I can't get it to work, it's just printing that code on the page.  Any suggestions?

Thanks!
Brenna
I geocache.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.