catalyst / moodle-mod_reengagement

Allows timed release of content and emails users to remind them to complete a course activity
23 stars 39 forks source link

Fix #132: Decode links in 3 new text boxes after course task backup #137

Closed tatiana-gl closed 10 months ago

tatiana-gl commented 10 months ago

Hello

I've submitted a fix for #132 issue.

How to test:

  1. Edit a course, e.g., https://moodle-example-site.com/course/view.php?id=5
  2. Add a new Reengagement activity, paste links to the course https://moodle-example-site.com/course/view.php?id=5 in content fields (text boxes)
    • Notification content (User)
    • Notification content (Manager)
    • Notification content (Third-party)
  3. Save, then duplicate that activity
  4. Links to the course in the new (duplicated) activity will be displayed as $@COURSEVIEWBYID*5@$

Once the fix is applied links in content fields will be decoded properly and shown as https://moodle-example-site.com/course/view.php?id=[course_id]

Reference: