1 min read

Portland Press Herald – VoteTRAC

#foreach($item in $cms.links(“/special/votetrac/”,1,30))
#if($item.id != 214029231)

$item.title

$cms.template(“Show Timestamp”)

$item.summary

#foreach($contentItem in $item.linkedContent(“relatedArticles”))
#set($LC = false)
#set($primaryID = $contentItem)
$cms.template(“Get Content Primary URL”)
#set($LC = $primaryItem)
#if($LC && $LC.url != “”)

#if($LC.id == $contentItem)
#if($LC.typeName == “External Links”)
$LC.title
#end
#if($LC.typeName == “ME News Story”)
$LC.title
#end
#if($LC.typeName == “iFrames and Includes”)
$LC.title
#end
#if($LC.typeName == “Miscellaneous”)
$LC.title
#end
#if($LC.typeName == “ME Miscellaneous”)
$LC.title
#end
#if($LC.typeName == “ME Photo”)
$LC.title
#end
#if($LC.typeName == “Polls”)
$LC.title
#end
#end

#end
#end

#end
#end

Comments are no longer available on this story