Hi @elnazgfar! I’m sorry about the delay in getting back to you. Here are some next steps that you could take.
First, PDF links within Kolibri content renderer and your local Kolibri instance will require an up-to-date version of Kolibri. You will want to be using Kolibri version 0.15.12 or greater, as this is when the functionality of using PDF links was updated in Kolibri.
Next, you will want to create your links. To do this, you can create content permalinks following this pattern:
/viewcontent?node_id=123&content_id=456&channel_id=789
The link should work with only the node_id information passed in, but the other information can be added as backup, if you choose. To make the link, you will add this path to your origin/IP address where Kolibri is running.
For example, a complete version might look something like:
127.0.0.1:8000/viewcontent?node_id=1641e0c96e6b4f84b3aa729cc30a894d&content_id=0ee616ec62d6464483bc941ce2ca57bf&channel_id=95a52b386f2c485cb97dd60901674a98
To find the node id, you can look in the URL of each piece of content when you open it. The node id appears after /topics/c/ and is a long string of letters and numbers, between the “/” and the “?”. As an example, I’ve included a screenshot below:
Please remember that outside of the context of Kolibri, these links would be meaningless, so if learners are not running Kolibri and on a local network, the links won’t link to anything useful. Downloading the PDF to their device and trying to open the links when not running Kolibri, for example, will not work.
Let me know if you have further questions, and how this works out for you
For further resources about lessons in Kolibri, you can also check out our documentation about Lesson Management using the “Lessons” feature, in case it is helpful or of interest!
Marcella