Default Picture Directory Template

The Default Template that gets created when you first create your Online Picture Directory will display the person’s picture or a gender-appropriate icon if there is no photo, next is a column for the name and address, the next column contains the phone numbers and email address, and the last column contains the birthday (month and day).

The Template will be located in Admin > Advanced > Special Content > Text Content and is named PictureDirectoryTemplate.

The template uses HandleBars to render the content using the SQL described here: Default SQL for Picture Directory.

If your church does not want to include all of this information, you can modify the template that gets created in your database.

In the default template, the person’s name links to their people record only for users who have the Access role. Phone numbers are shown only if the person allows their phone numbers to be published.

Important

The first line of the template marks it as the TouchPoint default. As long as that line is there, TouchPoint replaces the template with the newest default version. Delete that line if you customize the template, or your changes will be overwritten.

Below is the default content of that template

<!--default.v2   IMPORTANT! delete this line if you want to customize, otherwise your changes will be overwritten-->
<div id="results">
  {{{PagerTop}}}
  <div class="table-responsive">
    <table class="table table-striped" style="width: auto; min-width: 55%; margin-left: auto; margin-right: auto">
      <thead>
        <tr>
          <th style="width:105px"></th>
          <th>{{{SortName}}}</th>
          <th></th>
          <th style="width:110px">{{{SortBirthday}}}</th>
        </tr>
      </thead>
      <tbody>
        {{#each Entry}}
        <tr>
          <td>
            <div class="profile-photo">
              <a class="image-popup-vertical-fit" href="{{MediumUrl}}" title="{{Name}}">
                <div class="profile-portrait img-circle"
                     style="background-image: url({{SmallUrl}}); background-position: {{ImagePos}}">
                </div>
              </a>
            </div>
          </td>
          <td>
            {{#if ../HasAccess}}
              <b><a href="/Person2/{{PeopleId}}" target="Person">{{Name}}</a></b>
            {{else}}
              {{Name}}
            {{/if}}
            {{#if Address}}<div>{{Address}}</div>{{/if}}
            {{#if Address2}}<div>{{Address2}}</div>{{/if}}
            {{#if City}}<div>{{CityStateZip}}</div>{{/if}}
          </td>
          <td>
            {{#if PhonesOk}}
              {{#if Home}}<div>{{FmtPhone Home 'H'}}</div>{{/if}}
              {{#if Cell}}<div>{{FmtPhone Cell 'C'}}</div>{{/if}}
            {{/if}}
            {{#if Email}}<div><a href="mailto:{{Email}}">{{Email}}</a></div>{{/if}}
            {{#if Email2}}<div><a href="mailto:{{Email2}}">{{Email2}}</a></div>{{/if}}
          </td>
          <td>{{Birthday}}</td>
        </tr>
        {{/each}}
      </tbody>
    </table>
  </div>
  {{{PagerBottom}}}
  {{{PagerHidden}}}
</div>


Latest Update

10/19/2026

Updated the default template to the current version (default.v2), corrected the Special Content path, and explained the default-version line and name link behavior.