The Places Section options control the appearance of places. See the Place Index User Item for a description of the controls for the Place Index.
The place level selection options—the checkboxes whose names begin with "L" and a number—allow the user to choose which of the place levels (AKA place subfields) will be included in the output. If a place level is not checked, that data will not be included in the output pages.
The place level selection options affect place style output as follows. If a place level is checked and if that same place level is included in the output template for a place style, then the data for that place level will be included in the output. If a place level is not checked, then the data for that place level will not appear in the output even if the place level is included in the output template for the place style.
The Place Format property controls whether the Full Place or Short Place format is used. As in TMG, the short place is either a literal string assigned to the place via the Master Place List (MPL), or, if that is empty, the short place is the result of interpreting the Short Place template which is defined in the TMG preferences.
The Full, then Short choice operates as follows. The first time a place is shown in a particular person entry, the full place is used as the value of [L]. For all subsequent references to the same exact place for the same person, the short place is used as the value of [L].
If the result of processing the Short Place rules (use the literal value, then use the template) is an empty place, then Second Site will substitute the full place. So, if the Short Place template is "<[L3],> <[L5],> <[L6]>" but the L3, L5, and L6 fields are empty, then Second Site will use the full place value.
Use Place Style
The Use Place Style checkbox controls whether the place style is used to format the place. When Use Place Style is checked, which is the default, the place is formatted using a combination of the output template for the place style assigned to the place and the place level selection options. When Use Place Style is unchecked, the place is formatted by concatenating the selected place subfields together, separated by a comma and a space.
Terminology: TMG v4 versus TMG v5+
The Places Section uses TMG v5+ default terminology with respect to place levels. So, for example, there is a checkbox property for "L3 - City". In TMG v5+, level 3 defaults to "City" in the standard place style. In TMG v4, level 3 referred to the LatLong data, and the City was stored in level 4. If your project uses a TMG v4 dataset, use the names of the levels to determine whether a checkbox should be enabled or disabled.
Sentence Variables: TMG v4
Even though the Places Section uses TMG v5+ terminology, Second Site translates sentence variables such as [L3] or [CITY] that occur in TMG v4 datasets, and uses the correct place level data.
Second Site supports TMG v5+ Place Styles. The Place Style determines the format of the [L] sentence variable when Use Place Style is checked. The other sentence variables, such as [DETAIL], [CITY], etc., always refer to a predefined level of the place data, and their content is not determined by the definition of the place style.
Remember... you cannot use custom place labels in sentences. If you are using a custom place style, you may find it easier to use the [L1] through [L10] variables to refer to place data.
Default Place Style for TMG v4 Datasets
TMG v4 did not use place styles. Second Site uses the following output rule to determine the format of the [L] variable in TMG v4 datasets:
<[Addressee], ><[Detail], ><[City], ><[County], ><[State],> <[Country], ><[Postal], ><[Phone], ><[LatLong], >
Note that Second Site has optimized code to handle place styles that are formatted as shown above, i.e., a conditional reference with a trailing comma and space. If you use custom place styles, use the same reference style for the best performance in Second Site.
This page last changed on 16 Jan 2011.