We link to our ClickLearn content from Wiki pages on a SharePoint site - we don’t use the shelf/book system for the end user at this time, however it will be a handy feature for the training and development team to keep items organized.
So, if the user ends up on the recording page from a SharePoint wiki link, essentially it will hide a couple elements - the breadcrumb trail, and the page navigation (forward/back) on the sides of the page. This will stop them from navigating through the book.
However if someone on the development side is navigating the book, I don’t want those items to be hidden. I can handle the jQuery and Javascript to achieve this, what I am wondering is the right place in the template to put the following items. I can tell its going to be in the HTML/GlobalScript(JS or CSS) portion of the template, but which one?
If I’m loading my own JS library, should which template should it appear in (Recording vs Book vs Shelf)?
Same for jQuery libraries - at which level of the template should they be placed.
When placing my own CSS or JS calls in these sections, is it important to copy and paste the default item into the field? (The code in the Language Independant field)? I don’t want to override any of your JS or CSS.
Thanks
-Kevan
Best answer by Morten
Hello
We link to our ClickLearn content from Wiki pages on a SharePoint site - we don’t use the shelf/book system for the end user at this time, however it will be a handy feature for the training and development team to keep items organized.
So, if the user ends up on the recording page from a SharePoint wiki link, essentially it will hide a couple elements - the breadcrumb trail, and the page navigation (forward/back) on the sides of the page. This will stop them from navigating through the book.
However if someone on the development side is navigating the book, I don’t want those items to be hidden. I can handle the jQuery and Javascript to achieve this, what I am wondering is the right place in the template to put the following items. I can tell its going to be in the HTML/GlobalScript(JS or CSS) portion of the template, but which one?
If I’m loading my own JS library, should which template should it appear in (Recording vs Book vs Shelf)?
Same for jQuery libraries - at which level of the template should they be placed.
When placing my own CSS or JS calls in these sections, is it important to copy and paste the default item into the field? (The code in the Language Independant field)? I don’t want to override any of your JS or CSS.
Thanks
-Kevan
Hi Kevan,
You can add the script here, for recording, book, and shelf respectively - depending on your requirements.
HTML / GLOBALSCRIPTJS
Book template
Unless you wish to use different script for each language, i would recommend you use the language independant field.
We link to our ClickLearn content from Wiki pages on a SharePoint site - we don’t use the shelf/book system for the end user at this time, however it will be a handy feature for the training and development team to keep items organized.
So, if the user ends up on the recording page from a SharePoint wiki link, essentially it will hide a couple elements - the breadcrumb trail, and the page navigation (forward/back) on the sides of the page. This will stop them from navigating through the book.
However if someone on the development side is navigating the book, I don’t want those items to be hidden. I can handle the jQuery and Javascript to achieve this, what I am wondering is the right place in the template to put the following items. I can tell its going to be in the HTML/GlobalScript(JS or CSS) portion of the template, but which one?
If I’m loading my own JS library, should which template should it appear in (Recording vs Book vs Shelf)?
Same for jQuery libraries - at which level of the template should they be placed.
When placing my own CSS or JS calls in these sections, is it important to copy and paste the default item into the field? (The code in the Language Independant field)? I don’t want to override any of your JS or CSS.
Thanks
-Kevan
Hi Kevan,
You can add the script here, for recording, book, and shelf respectively - depending on your requirements.
HTML / GLOBALSCRIPTJS
Book template
Unless you wish to use different script for each language, i would recommend you use the language independant field.
NOTE: When creating a new account, please note you will by default receive e-mails regarding ClickLearn community activities. You can manage your email preferences under your personal Profile settings. ClickLearn collects personal data to enable your use and to develop and improve the community and to provide you the most useful service, as detailed in the Privacy Policy. We only accept personal accounts. Fake accounts (users engaging under fake names),or group accounts will not be accepted.