Tech Support Posted January 26, 2021 Share Posted January 26, 2021 Step 1. Open Website UI -> Pages -> View Video page -> Related Videos block for editing. Step 2. Change parameters: Under sort_by make sure you deselect Pseudo-random sorting and choose another sorting, as pseudo random sorting doesn't support pagination. Enable var_from = from. Step 3. Add the following 3 lines: {{assign var="pagination_use_load_more" value="true"}} {{assign var="pagination_no_links" value="more"}} {{include file="include_pagination_block_common.tpl"}} into block template code right after this one: {{include file="include_list_videos_block_common.tpl"}} Step 4. Adjust styles to add some spacing after load more button: .related-videos { padding-bottom: 15px; } 2 1 Quote Link to comment Share on other sites More sharing options...
Tech Support Posted January 28, 2021 Author Share Posted January 28, 2021 There was a bug fixed with the original post, we added this line into Step 3 to hide pagination link that would result in 404 error: {{assign var="pagination_no_links" value="more"}} 1 Quote Link to comment Share on other sites More sharing options...
Emilia Posted January 28, 2021 Share Posted January 28, 2021 On 1/26/2021 at 12:15 PM, Tech Support said: Step 3. Add the following 2 lines: Should also make it following 3 lines: 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.