在之前的文章中,我们展示了如何编辑查看模板(viewing template)以及如何将其应用于任何文件夹及其子文件夹。为了完成图片,我们将展示如何编辑和更改用于Windows 7中任何库的(Windows 7)查看模板(viewing template)。
步骤 1(Step 1) :在文件夹上配置查看模板(Viewing Template)
Windows 资源管理器(Windows Explorer)有五种类型的查看模板,适用于文件夹和库:常规项目、文档、图片、音乐(General Items, Documents, Pictures, Music)和视频(Videos),每一种都显示了一组特定的详细信息。可以自定义这些查看模板,以按照您想要的方式显示folder and/or library
不幸的是,Windows 资源管理器(Windows Explorer)不允许您自定义作为库一部分的文件夹的模板。那是因为它将库的查看模板(viewing template)应用于其中的所有文件夹。它不支持库中的每个文件夹都有自己的(单独的)查看模板(viewing template)。因此(Therefore),在自定义应用于库的查看模板之前,您需要将其配置在与库共享相同(viewing template)查看模板(viewing template)但不一定是库的一部分的文件夹中。听起来很复杂?好吧...为了让您的生活更轻松,请查看这个非常详细的教程:在Windows 资源管理器中配置(Windows Explorer)默认查看模板(Default Viewing Templates)成为你(YOU)想要的样子!
为了帮助您更好地理解,我们还举个例子:我有一个名为Documents的库,其中包含文档文件夹。出于某种原因,该库使用常规项目(General items)查看模板,而我希望它使用文档(Documents)查看模板。但是,我希望这个新模板在默认列之上包含其他列(例如,向我显示包含作者(Authors)信息的列)。第一步是选择另一个文件夹,其中包含文档,或者只是我应用此查看模板的(viewing template)随机(random one)文件夹。然后,我自定义查看内容的方式,并将自定义查看模板(viewing template)应用到所有使用它的文件夹。同样(Again),要了解如何执行此操作,请查看我们的教程:将Windows 资源管理器(Windows Explorer)中的默认查看模板(Default Viewing Templates)配置为您(YOU)想要的!(Them)
第 2 步(Step 2):将查看模板(Viewing Template)应用到库(Library)
现在,您要用于库的查看模板已自定义。是时候将它应用到图书馆了。为此,请右键单击相应的库。在我们的示例中,它被称为Documents。
然后,转到属性(Properties)。

在“属性(Properties)”窗口中,转到“优化此库:”('Optimize this library for:')部分。在这里,选择您要应用的新查看模板,然后按OK。在我们的示例中,我们选择了Documents。

查看模板(viewing template)现在应用到选定的库。
那不是很难,是吗?
最初这听起来可能很复杂,但如果你仔细想想,它是有道理的。此外,它不需要很多时间来完成它。第一次比较难,但是你做的很快。如有任何问题,请随时发表评论。有关其他有用的提示,请查看下面推荐的文章。
Configure the Windows Explorer Viewing Templates for Libraries
In previous articles, we've shown how to edit a viewing tеmplate and how to apply it to any folder and its sub-folders. Τo complete the picture, we will show how to edit and change the viewing template used for any library in Windows 7.
Step 1: Configure the Viewing Template on a Folder
Windows Explorer has five types of viewing templates it applies to folders and libraries: General Items, Documents, Pictures, Music and Videos, each with a specific set of details shown. These viewing templates can be customized to show the contents of a folder and/or library to be the way you want to.
Unfortunately, Windows Explorer doesn't allow you to customize the template of a folder which is part of a library. That's because it applies the viewing template for the library to all the folders in it. It doesn't support each folder in the library to have its own (separate) viewing template. Therefore, before customizing the viewing template applied to a library, you need to configure it on a folder which shares the same viewing template as the library but is not necessarily part of the library. Sounds complicated? Well... to ease your life, check out this very detailed tutorial: Configure the Default Viewing Templates in Windows Explorer to be as YOU Want Them!
To help you understand better, let's also take an example: I have a library called Documents, with folders of documents inside it. For some reason, the library uses the General items viewing template and I want it to use the Documents viewing template instead. However, I want this new template to include additional columns, on top of the default ones (e.g. to show me a column with Authors information). The first step is to select another folder with documents in it, or simply a random one to which I apply this viewing template. Then, I customize the way I want to view things and apply the customized viewing template to all folders using it. Again, to learn how to do this, check out our tutorial: Configure the Default Viewing Templates in Windows Explorer to be as YOU Want Them!.
Step 2: Apply the Viewing Template to the Library
Now, the viewing template you want to use for your library is customized. It is time to apply it to the library. To do so, right click on the appropriate library. In our example it is called Documents.
Then, go to Properties.

In the Properties window, go to the 'Optimize this library for:' section. Here, select the new viewing template you want applied and press OK. In our example we selected Documents.

The viewing template is now applied to the selected library.
Wasn't that hard, was it?
Initially this might sound complicated but, if you think about it, it makes sense. Also, it doesn't take a whole lot of time to do it. It's harder the first time but then you do it pretty fast. For any questions, don't hesitate to leave a comment. For other useful tips, check out the articles recommended below.