Feature Wiki

Information about planned and released features

Tabs

Adjusting Internal Links while Copying LM

1 Description

Scenario:

  • ILIAS Learning Module A with chapters A1 and A2 and pages A1.1 and A2.1.
  • Internal link from A1.1 to A2.1.
  • Module is copied, so a module B with chapters B1 and B2 and pages B1.1 and B2.1 arises.
In the copied module, the internal link on page B1.1 points at A2.1.
That is a problem, and may it only be because the users supposed to process module B might not have access to module A.
 
Problem:
  • In ILIAS Learning Modules, there are not only internal links into the same module, but also to other objects. Only the ones into the same module need to be adjusted.
  • When you look at an internal link to a page or a chapter, you'll see that it contains only a reference number of the page / chapter itself (for example, "[iln page =" 10 125 "] [/ iln]"), but no reference number for the learning module in which they lie.
  • Thus, ILIAS has no way to distinguish whether an internal link points to the same learning module or not. However, that would be the prerequisite for adjusting internal links into the same module.
We see two different approaches for a solution:
  • When creating a link the refID of the module must be written into the link code (for example, "[iln lm=" 1234" page =" 10 125 "] [/ iln]".
    Thus, when the module is copied, ILIAS can compare whether the refID stated in the link is equal to the refID of the copied module, and if yes, adjust the refID of the page within the link code.
    However, there are problems:
    • This solution might be a performance issue.
    • A prerequisit of this solution is that all pages are copied first (and the copied ones get their own refID) befire the page content (and the links within it) are copied.
    • ...?
  • Every page gets a refID and a module-specific lmpageID.
    When creating a link, it has to be stated manually (by a separate link type or by an option) whether the link points at a position in the same module. In this case, different code is written (for example, "[iln lm_page =" 1 "] [/ iln]".
    Thus, when the module is copied, ILIAS can simply copy the module-specific lmpageIDs and keep the links as they are.
    However, also here are problems:
    • This solution requires more disk space.
    • ...?

2 Status

3 Additional Information

  • If you want to know more about this feature, its implementation or funding, please contact: wieg (at) qualitus.de

4 Discussion

Zenzen, Enrico [ezenzen], 05 SEP 2022: This request no longer fulfills the requirements of the Feature Wiki. In consultation with the maintainer I change the status of the feature request to "Redundant / outdated". If the request is still relevant, please update template and mockups.

5 Follow-Up

Last edited: 5. Sep 2022, 08:05, Zenzen, Enrico [ezenzen]