Content Management

Creating a Coach and Share Bookmark Button

  • 9 September 2022
  • 1 reply
  • 143 views

Userlevel 7
Badge +2
  • Docebian
  • 195 replies

This tutorial has been created to support this helpful tip from@Marco.T, one of our incredible Product Managers.

 

For any Discover, Coach & Share customers who have ever come across an amazing article or video and wanted to share it (without having to go back to the LMS and locate the Share button), this tip is for you!

 

In this tutorial, you’ll learn how to create a helpful button that you can add to your bookmarks bar for quick and easy sharing. 

 

Take a look at this screen recording to see this tip in action!

 



Exciting right? But before providing the steps to create this button, we first need to get a little technical using the “Share URL” functionality within Discover, Coach & Share.

  • isolate the URL that shares a specific URL to your platform by utilizing the following structure https://[Platform_URL]/share/contribute?url=[URL_TO_SHARE]
  • copy this javascript code (thanks @Marco.T) and insert your platform URL so it’s ready when you get to Step 4 in the creation process:
javascript:void(win=window.open('https://[yourplatformurl]/share/contribute?url=%27+encodeURIComponent(location.href),%27Contribute%27,%27width=500,height=500,left=%27+((screen.width/2)-(500/2))+%27,top=%27+((screen.height-500)/3)+%27,resizable=1,scrollbars=1,menubar=0,toolbar=0,status=0,directories=0,copyhistory=0%27))

 

Example using Docebo University URL:

javascript:void(win=window.open('https://university.docebo.com/share/contribute?url=%27+encodeURIComponent(location.href),%27Contribute%27,%27width=500,height=500,left=%27+((screen.width/2)-(500/2))+%27,top=%27+((screen.height-500)/3)+%27,resizable=1,scrollbars=1,menubar=0,toolbar=0,status=0,directories=0,copyhistory=0%27))

 

Now it’s time to create the button!

 

Here are the simple steps (using Google Chrome):

***It’s important to follow this process exactly utilizing the Bookmark Manager (instead of copying and pasting in your URL bar then saving) otherwise the javascript will be stripped out.***

  1. Open Chrome

  2. Open the Bookmark Manager (chrome://bookmarks/

Uj5rS_tLQ96PBB2nqQDHcIctL88GpuV4NzPVhfeYW637ZBOqot1ex6Xct3RMIM2yiZmN9F9epNRSgR_jy-jaNYJGBKYOzNo1H5UjYGf_NQSvylqcoV38F8r_kH6KXYN8uYIhQmN4BxmrriI-Fw

 

  1. Click the three dots in the top right corner and select “Add new bookmark”

klQq6v-nuFJ-LVX20GrDrMtlhKpeQm9BtU4pZJpytPs94hjh9BbCB3ymhJAiCaGdbXkFRW-rTFo7NJJflk6TJPN4FqoR48Fdg2JMCIqRugjRSMzg8evTifyhtMfKAyu1664W-it5vjoLos3_ng

 

  1. Name the bookmark and then copy and paste the javascript (updated with your platform URL) into the URL box. 

  2. Click ‘Save’

 

Now, you can add this to your bookmark bar to quickly and easily share content via Discover, Coach & Share as you browse different content sources.


1 reply

Userlevel 7
Badge +3

Intriguing, going to give it a shot. Thanks!

Reply