Changes made to Display Template |
<div
class=”cbs-pictureOnTopImageContainer”
id=”_#= pictureContainerId =#_”>
<a
class=”cbs-pictureImgLink”
href=”#”
onclick=”javascript: SP.UI.ModalDialog.showModalDialog({ url: ‘_#= linkURL =#_’, title: ‘_#= $htmlEncode(line1) =#_’ }); return false;”
id=”_#= pictureLinkId =#_”> _#= pictureMarkup =#_ </a>
</div>
Looks great. How would I apply this to a search results webpart that gets items from a defined result (a list)? Do I apply this to the display or the item template?
LikeLike
Hi Russ, Yes apply this to the item template and it should work.
LikeLike