Since the channel shows a video rather than an obvious way to go straight to the Youtube channel, the additional (optional) display of a link would be nice.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

adraskoy’s picture

I solved this one by adding a channel variable to hand to the template in youtubechannel_getview():
$vars['channel'] = check_url("http://www.youtube.com/user/{$youtube_user}");

This required fixing bug 1983774 to make the template overridable.

parwan005’s picture

Issue summary: View changes

Thanks adraskoy for your suggestion. Will try to implement it in future release.

NitinSP’s picture

Add youtube channel link in youtube channel block. So if user click on it will redirect to respective youtube user page.

NitinSP’s picture

Status: Active » Needs review
NitinSP’s picture

Updated formatting, please review the latest patch #5.

hiramanpatil’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the patch. I have tested it and its working fine.

NitinSP’s picture

commit and merge this changes in 7.x-2.0.

NitinSP’s picture

Status: Reviewed & tested by the community » Fixed

  • NitinSP authored 00d34e8 on 8.x-1.x
    Issue #1983592 by NitinSP: Add an optional link to the channel in the...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.