TPL文件管理 [英] TPL File management

查看:123
本文介绍了TPL文件管理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人确定为什么某些xxx.tpl文件以html格式打开,而其他人希望在查询对话框中以文本形式打开。 有些人可能知道tpl文件是在smarty中使用的,可以从编码方面看作HTML。

Has anyone determined why some xxx.tpl files open as html and others want to open as text with the query dialog box.  As some may know tpl file are used in smarty and can be treated as HTML from a coding aspect.

我将.tpl文件添加到我的选项中以打开HTML类型。     现在有些文件正常打开,有些文件没有正确打开。 

I added .tpl files to my options to open as HTML type.     Now some files get opened properly, others don't. 

我甚至拿了同一文件中有一条聪明的注释行。

I even took the same file that had a single smarty comment line in it.

{*    主页    内容  第2行    A栏   *}

{*     Home page     Content   Row 2    Column A   *}

从打开的文件中确定并将相同的文本保存到另一个文件名xxx.tpl。 表达式无法正确打开该新文件。

from a file that opens OK and saved that same text to another file name xxx.tpl.  Expressions cannot open that new file correctly.

我保存tpl文件的方法是执行"另存为"  文件名.tpl 并将文件类型更改为"所有文件" 

The way that I save tpl files is to do a "save as"  file name.tpl  and change the file type to "ALL FIles" 

我还查看了这两个文件的属性..  两者都说他们将通过表达式作为HTML打开,但事实上他们的处理方式不同。  

I also looked at the two file's properties ..   Both say they are to be opened via Expressions as HTML but in fact they are handled differently.  

 

所以我的猜测我不知道的一些文件属性导致网络表达式尝试以不同方式打开它。  

So my guess is that some file property that I'm not aware about is causing web expressions to try to open it differently.  

 

任何其他帮助或解决方案都会很好。

Any other help or work around would be nice.

 

 

推荐答案

此主题之前已在此处讨论过。请参阅:

http:/ /social.expression.microsoft.com/Forums/*.tpl

This topic has been previously discussed here. See:

http://social.expression.microsoft.com/Forums/*.tpl


这篇关于TPL文件管理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆