solved Which Template would I change & code

ukdenny
@ukdenny
6 years ago
304 posts
In Projam light on the index page there is an area 'Reviews and Articles' The template I have was changed for me and I want the ;Video section to enable comments to be inserted into this from the Youtube comments that are added.
Could some one please tell me which template and the code to change.
videocomment.jpg
videocomment.jpg  •  191KB


updated by @ukdenny: 09/22/18 05:36:53AM
paul
@paul
6 years ago
4,326 posts
In the reviews.tpl template you need to change lines 4 and 5 from 'jrVideo' to 'jrYouTube', and 'video' to 'youtube'.

Then in the reviews_row.tpl lines 7-10 make similar changes to occurances of 'jrVideo' and 'video'.

Save and enable the modified templates, clear caches and you should be good to go.
hth


--
Paul Asher - JR Developer and System Import Specialist
ukdenny
@ukdenny
6 years ago
304 posts
Thanks Paul - I'm almost good to go.
It entered the review on the profile page okay under the youtube vid.
It entered the review under the Latest Comments
But NOT under the 'Video' in Reviews and Articles >'sorry there are no reviews to list'
2 screen shots of my template changes.
Could you please advise.
reviews_row_template.jpg

review_template.jpg
review_template.jpg  •  105KB

paul
@paul
6 years ago
4,326 posts
The instances of 'video' need changing to 'youtube', NOT 'jrYouTube'.
hth


--
Paul Asher - JR Developer and System Import Specialist
ukdenny
@ukdenny
6 years ago
304 posts
Fixed, thanks for all your help Paul
updated by @ukdenny: 06/23/18 08:39:35PM

Tags