bbeer Posted June 24, 2014 Share Posted June 24, 2014 Hi all I am posting this here because I am not really sure about the best way to do this. We are working on a large site with a lot of products in different languages. The client now wants to add product videos 1. In a download section 2. In the download section of the individual product. I was thinking of adding the videos as Documents to the download section and then link them via tinymce to the products. However I am not so really sure if this is the best solution. maybe someone has a much better idea. Important is, that if a file is changed in the downloads section that the link is changed also in the individual products. Your support is much appreciated! Link to comment Share on other sites More sharing options...
Craig Posted June 24, 2014 Share Posted June 24, 2014 I would create the download section first - arrange them using categories, tags or the tree - whatever makes sense for the site structure and content. Then create a new Page reference field which will allow the selection of videos from the download area, which you can then add to your product templates. This means there is no messing around with TinyMCE (which could be an administrative nightmare to maintain) and you will have complete control over the output/markup of the video listings. 3 Link to comment Share on other sites More sharing options...
bbeer Posted June 24, 2014 Author Share Posted June 24, 2014 Hi Craig thanks! Thats exactly how I am going to do this. 1 Link to comment Share on other sites More sharing options...
bbeer Posted June 25, 2014 Author Share Posted June 25, 2014 ok somehow I get stuck here I created a field download_select_video as get related pages field. I can get the title of the related pages with template downloads into my template product with $pages->get(2331)->title;But somehow I don't get a the url of the movies. Your help is much appreciated! Link to comment Share on other sites More sharing options...
bbeer Posted June 25, 2014 Author Share Posted June 25, 2014 Problem solved $vid_url = $pages->get(2331)->downloads; thanks anyway 1 Link to comment Share on other sites More sharing options...
onjegolders Posted June 25, 2014 Share Posted June 25, 2014 Are you adding Videos as URls (from Youtube etc) or as an actual video file? OK you solved it Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now