Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Adding Video To Blog On Home Page Rate Topic   - - - - -

 
  • quesada19
  • Member
  • Members
  • Join Date: 26-Nov 19
  • 40 posts

Posted 16 July 2020 - 10:20 AM #1

At the moment we have a blog section on our homepage, the standard CS feature.

 

We are going to change this to a series of weekly tutorial videos which we will load on Youtube and then link to the blog. I have tested it this morning with some example video and when you click the thumbnail on the home page it opens the blog page and video but on the home page there thumbnail image is just grey, is there a way of changing this so its like the start of the vide, see attched:

Current:

Screenshot-2020-07-16-at-12-20-07.png

What we would like in this box:

Screenshot-2020-07-16-at-12-20-17.png



 
  • quesada19
  • Member
  • Members
  • Join Date: 26-Nov 19
  • 40 posts

Posted 18 July 2020 - 10:04 AM #2

Any help appreciated, if this needs some additional work and a developer can help please get in touch.



 
  • avoronin
  • CS-Cart Team
  • CS-Cart Architects
  • Join Date: 23-Oct 17
  • 20 posts

Posted 18 July 2020 - 02:53 PM #3

You can upload video covers separately. You can get the cover using online services. Example, http://www.get-youtube-thumbnail.com/



 
  • quesada19
  • Member
  • Members
  • Join Date: 26-Nov 19
  • 40 posts

Posted 18 July 2020 - 04:15 PM #4

You can upload video covers separately. You can get the cover using online services. Example, http://www.get-youtube-thumbnail.com/

 

Thanks, where would we add this as I am on the blog section now and have loaded the video to the description box, where would I enter the thumbnail URL for it to show up on the home page?



 
  • avoronin
  • CS-Cart Team
  • CS-Cart Architects
  • Join Date: 23-Oct 17
  • 20 posts

Posted 18 July 2020 - 06:26 PM #5

1. Blog post → Add-ons tab → Blog section: Image.

2. Check: Design → Layouts → Homepage → Blog block options → Template: Blog: recent posts scroller (for default theme).



 
  • quesada19
  • Member
  • Members
  • Join Date: 26-Nov 19
  • 40 posts

Posted 31 July 2020 - 01:40 PM #6

1. Blog post → Add-ons tab → Blog section: Image.

2. Check: Design → Layouts → Homepage → Blog block options → Template: Blog: recent posts scroller (for default theme).

 

 

Thank you.

 

When I add the URL it is also loading the image (large size) on the blog page, can this be removed so on the blog page there is just the embedded video?



 
  • quesada19
  • Member
  • Members
  • Join Date: 26-Nov 19
  • 40 posts

Posted 04 August 2020 - 08:15 PM #7

BUMP - Still looking for advice/help on this



 
  • quesada19
  • Member
  • Members
  • Join Date: 26-Nov 19
  • 40 posts

Posted 11 August 2020 - 11:05 AM #8

Bump again



 
  • Magpie Don
  • Senior Member
  • Members
  • Join Date: 01-Apr 09
  • 834 posts

Posted 12 August 2020 - 09:59 PM #9

You could use Design > Templates to edit this template:

templates / addons / blog / hooks / pages / page_content.pre.tpl

 

You can comment out the image. Comment out this IF statement (yours may be formatted differently): 

        {if $page.main_pair}
    	    <div class="ty-blog__img-block">
    	        {include file="common/image.tpl" image_width="890" image_height="304" obj_id=$page.page_id images=$page.main_pair}
    	    </div>
    	{/if} 

CS-Cart Ultimate ver 4.11.3