Archive 1.x:Sample Heritage Image Record Template

Here is a sample Smarty record template page in PHP for presenting 'heritage building' image records for a given area. NOTE: Renderings for this code are presented at the bottom of this document. The nominal source file is :

is located in the {$locatedIn[0].valueLiteral} neighbourhood.  {if $convervationShortRepot[0].value != ""}  Short conservation report {/if} {if $conservationLongReport[0].value != ""}  Long conservation report {/if} {if $nationalHistoricSite[0].value != ""}  National History Site webpage</a></li> {/if} {if $link[0].value != ""} <img src="{$templateLocationUrl}imgs/world_link.png" /> <a href="{$link[0].value}" title="document">Webpage</a></li> {/if} </ul>

<td id="tMapColumn" valign="top"> {if $lat != "" && $long != ""} <div id="map_canvas" style="width:400px; height:300px;"> {/if} {* If there are attributes/values that haven't been assigned to any template variable, then we simply list them into an "Other Information" tw-column table *} {if count($unasignedAttributes) > 0} <h3 id="tOtherInformationTitle">Other Information {/if}

Record View
Here is a rendering of this record template while in individual record 'View' mode:



Browse Record
Here is a rendering of a  for this same record. This record view has been generated by the structBrowse OSF-Drupal tool, and is used the resultset records templates.