Help - Search - Members - Calendar
Full Version: Skinning and MT Tags
Movable Type Community Forum > Additional Resources > Tips and Tricks
dfmooreqq
I'm testing my site out with skins, however, when I include MT Tags in the skin, they don't translate (i.e. <$MTBlogDescription$> still comes out as "<$MTBlogDescription$>"). The skin parts are not templates.

Do I need to make them templates in order to have these tags translate or is there another way?
maddy
If you want the MT tags to be parsed by MT, then yes, you need to make them templates. smile.gif
Talyn
I have a 'skinning' system implemented on my site, which works great for all templates except the comments, etc. The reason *seems* to be because these templates are being called directly from a CGI script so the PHP is not executing. Is there a way to force the matter?
maddy
You might find this helpful. smile.gif
Talyn
Hmm not sure if that will work or not. I imagine I can re-write it to function. I used the PHP skin system from alistapart.com's tutorial.

The problem templates are the comments, etc. (all the ones at the bottom of the templates page that don't seem to have filenames).

Would it be possible to modify the cgi itself to read the cookie?
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.