tag:blogger.com,1999:blog-3323891144353318207.post8067003377369394402..comments2024-03-13T08:04:46.236-04:00Comments on SteveMann's Path: SharePoint 2013 Search: Creating an Image Horizontal Result BlockSteve Mannhttp://www.blogger.com/profile/07380496759963407882noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-3323891144353318207.post-8165451650840202962016-07-05T09:32:28.365-04:002016-07-05T09:32:28.365-04:00I have seen issues by going through the gallery. I...I have seen issues by going through the gallery. I would update in SharePoint Designer and make sure the resultant .js file is updated.Steve Mannhttps://www.blogger.com/profile/07380496759963407882noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-45230752558921565532016-07-04T09:07:57.113-04:002016-07-04T09:07:57.113-04:00Hey Steve! Thank you for the great article. I stri...Hey Steve! Thank you for the great article. I strictly followed your instructions but the display template somehow doesn't work. I even published a major version of the display template in the Master Page Gallery and approved all changes - still no success. Instead of using the new display template the previously assigned one is displayed on my search results page. Do you have any idea what might have gone wrong?<br />Thank you! KatrinAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-22479137334519433062015-04-28T15:59:47.711-04:002015-04-28T15:59:47.711-04:00I have not done this using several rows. However I...I have not done this using several rows. However I would output all items in a div that is responsive such that they wrap into more rows depending on screen size.Steve Mannhttps://www.blogger.com/profile/07380496759963407882noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-29039310003097318182015-04-27T15:46:15.968-04:002015-04-27T15:46:15.968-04:00Hi Steve,
Were you ever able to create a display ...Hi Steve,<br /><br />Were you ever able to create a display template which displayed the results in several rows?Amynoreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-36313803451309140252014-08-19T21:33:11.494-04:002014-08-19T21:33:11.494-04:00Hi Kash
I found the same issue.
I changed this...Hi Kash<br /><br />I found the same issue. <br /><br />I changed this line of code in the image tag<br /><br /> id="PicPreview" src="_#= pathEncoded =#_" height="80px" width="80px"<br /><br />to this...<br /><br /> id="PicPreview" src="_#= $urlHtmlEncode(ctx.CurrentItem.PictureURL) =#_" height="100%" width="100%"<br /><br /><br />And it works. <br />Hayden Sinclairhttp://www.sharepointagency.co.nznoreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-63341402467394057182014-01-10T07:12:27.163-05:002014-01-10T07:12:27.163-05:00It is something with the code you put in between t...It is something with the code you put in between the if and else. Take a look at my source code on this blog on the Reference Links and Source Code page (link at top of site)Steve Mannhttps://www.blogger.com/profile/07380496759963407882noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-10141213851950608422014-01-10T06:50:30.620-05:002014-01-10T06:50:30.620-05:00Hi Steve, Thanks again for this great article.
I f...Hi Steve, Thanks again for this great article.<br />I followed this article and I have a little issue and I hope you can help me with that. Results are coming fine but they are not displaying images if there is more than 1 instead showing X. When I mouse hover the results then I can see the images. I'm not sure what I did wrong here. Kashhttp://kashkumar.wordpress.comnoreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-12950053565240481152013-08-28T17:45:28.912-04:002013-08-28T17:45:28.912-04:00You would need to create an image results page and...You would need to create an image results page and then somehow create a different image template to display the results in rows of 5. I'll try to create something when I get a chance.Steve Mannhttps://www.blogger.com/profile/07380496759963407882noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-51058843810761427612013-08-27T18:56:44.159-04:002013-08-27T18:56:44.159-04:00Is it possible to have the results show up on mult...Is it possible to have the results show up on multiple rows? For example, after the user clicks on "Show More" I would like to have all the results displayed horizontally but max each row to 5 items per row. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-65782726332011785882013-06-04T20:12:00.835-04:002013-06-04T20:12:00.835-04:00There is one already there. It shows up in the lis...There is one already there. It shows up in the list as Person Intent. Steve Mannhttps://www.blogger.com/profile/07380496759963407882noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-64174727145534358642013-06-04T18:59:05.422-04:002013-06-04T18:59:05.422-04:00Steve the same thing how we can do for people disp...Steve the same thing how we can do for people display template? Any idea? Josephhttps://www.blogger.com/profile/12981469575845951246noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-59593054613234456792013-05-17T09:46:54.835-04:002013-05-17T09:46:54.835-04:00I would right-click the file in SharePoint Designe...I would right-click the file in SharePoint Designer and select Reset to Site Definition. Then proceed with the modifications. Maybe something didn't copy over correctly.Steve Mannhttps://www.blogger.com/profile/07380496759963407882noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-137580425760253082013-05-17T02:04:32.364-04:002013-05-17T02:04:32.364-04:00Hi Steve
i have copied the code what u said but ...Hi Steve <br /><br />i have copied the code what u said but facing the problem here ctx.CurrentItem.ParentTableReference<br /><br />i didn't find property like ParentTableReference in ctx.CurrentItem in my debugging what is the mistake with my code please can you... thanks in Advancesivajihttps://www.blogger.com/profile/05981126283059323155noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-40341509031018284572013-05-15T15:40:01.906-04:002013-05-15T15:40:01.906-04:00Did you copy the code tags too?
I have this wo...Did you copy the code tags too? <br /><br /><br /><br />I have this working and did it live from scratch at my session this past Saturday.Steve Mannhttps://www.blogger.com/profile/07380496759963407882noreply@blogger.comtag:blogger.com,1999:blog-3323891144353318207.post-79725117755922581442013-05-15T07:15:10.093-04:002013-05-15T07:15:10.093-04:00THANKS BUT
if (!Srch.U.n(ctx.CurrentItem.Paren...THANKS BUT <br />if (!Srch.U.n(ctx.CurrentItem.ParentTableReference) && ctx.CurrentItem.ParentTableReference.TotalRows > 1) <br />ITS SHOWS UNDERFUND sudhakarhttps://www.blogger.com/profile/04033535712814191728noreply@blogger.com