Jump to content

Add "random/you may like" on empty search result?


Recommended Posts

Yes, this is possible. You need to go to Website UI -> Pages -> Search Content page and edit its template. Where you have this line:


You can wrap it with the following construct:

{{if $storage.list_videos_videos_list_search_result.total_count>0}}
	{{insert name="getBlock" block_id="list_videos" block_name="Recommended Videos"}}

Then it will create an additional Recommended Videos block on this page and you can configure its template and parameters to display the list of videos that you need for empty search results.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...