In this task you will learn how to change the order in which the directory styles appear in the style selector. On the example below, on the Pages main tab, the default order of directory styles is as shown. Let's suppose you want the Thumbnails directory style to be the first in the list. In this example we choose the <BaseQuery Name="Fred4Pages" in the FRED4_Config.xml configuration file. |
You will be able to perform this task only if: •You already opened the fred4_config.xml file as explained in TASK: Open for editing one or more files with directory styles, ordered the view as explained in TASK: Display an ordered view of directory style elements, and located the <DirectoryStyle Name="List" under the <BaseQuery Name="Fred4Pages". |
1.Expand the <DirectoryStyleList> under base query Fred4 pages and review all defined directory styles: 2.Select the entire collapsed line with name Thumbnails, and then press CTRL+X. 3.Paste it above the line with <DirectoryStyle Name="List". 4.Save changes and import them in database as explained in TASK: Save changes and import them in database. 5.Restart Fred and then look at the list of styles on the Pages main tab: the Thumbnails style is the first one now. |