Projam5 skin -Index - Newest Video

ukdenny
@ukdenny
6 years ago
293 posts
I quite like the Projam5 skin but because I am unable to get the video working I would like to insert Youtube videos on the Index page in the allocated area for 'Newest Videos' How would I do this please
updated by @ukdenny: 06/13/18 12:42:13AM
ukdenny
@ukdenny
6 years ago
293 posts
Is it Skins>jrProjam>index.tpl
and do I just change > jrLoad('#newest_videos',core_system_url + '/index_new_videos'); to/youtube_videos
and
{jrCore_lang skin=$_conf.jrCore_active_skin id="11" default="Newest"} {jrCore_lang skin=$_conf.jrCore_active_skin id="14" default="Videos"} to
default "youtube_videos"
because that wouldn't work
I looked at the link you sent me Nate but I got quite confused with it all. Is there a simple way of sorting this please?
paul
@paul
6 years ago
4,325 posts
Well, if you were to create a new skin template file called index_new_youtubes.tpl, then copy the contents of the index_new_videos.tpl to it, then edit the new file changing the references to 'jrVideo' and 'video' to 'jrYouTube' and 'youtube', then yes, just change jrLoad('#newest_videos',core_system_url + '/index_new_videos'); to/index_new_youtubes and you should be a good way there to making it work.
hth


--
Paul Asher - JR Developer and System Import Specialist
ukdenny
@ukdenny
6 years ago
293 posts
I'll have a go at this Paul, where do I look to create a new skin template, I couldn't find it in the Skin>Templates area. Or in the Documentation.
paul
@paul
6 years ago
4,325 posts
Two options -
1) FTP to your server and create the new template file that way
2) Use the Developer module Tools to clone your existing skin, then make the cloned skin active, then use the cloned skin's template editor to create the new template, then edit it from there.


--
Paul Asher - JR Developer and System Import Specialist
ukdenny
@ukdenny
6 years ago
293 posts
Thanks for you help guys, but with everything that's going on in my life I'm not up to all the tecnology required to do this. I really just wanted the video to work in the first place and thought because it wouldn't It might be easy to ajust a template to have the youtube vids (which work okay) So I will just have to choose one of the earlier skins that does not have the 'newest video' feature on the index page. Although I am quite bright in a lot of area's I am not a developer.

Tags