Help - Search - Members - Calendar
Full Version: Newbie Question: Using Mt Tags Within Posts?
Movable Type Community Forum > Using Movable Type > Templates and Tags
RKFcomputers
Forgive the newbie question - I've read through the docs & searched the forums, but I haven't found an answer yet. Possibly because it should be obvious to me?

I am wondering if it's possible to use MT template tags within the actual body of an entry?

Example:
If I have to link to an image, can I use MTBlogURL?
CODE
<img src="<$MTBlogURL$>images/acme.jpg" />


This would make it easier to port posts between a test server and the real site.

Any help is appreciated.
Su-
No, you can't.

The Process Tags plugin was made for that, but you'll have to just try it out. It's pretty old and I can't recall at the moment whether it still works with the latest versions. I think so.
katenepveu
For the specific example you give, I suggest using "base href=" in the head of the HTML document and then just changing the link when you move to your new server. I have all that stuff in a separate template and use MTInclude to add it to each individual template.
RKFcomputers
QUOTE (katenepveu @ Jan 11 2007, 11:55 AM) *
For the specific example you give, I suggest using "base href=" in the head of the HTML document and then just changing the link when you move to your new server. I have all that stuff in a separate template and use MTInclude to add it to each individual template.


Excellent - I was contemplating the Base tag yesterday evening. Thanks for confirming!
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-2010 Invision Power Services, Inc.