Hi, I have a course in Moodle 3.1 for which I have enabled Activity names autolinking, following the steps as documented in Moodle docs (enabled to Default On site wide). Filter is also on within the course, as I checked.
Still, it seems the filter won't create the links to all the labels and files I want to link. I even tried hardcoding it in the HTML with the span class="link", but this also didn't work. What am I doing wrong?
In the list, we would have:
Item 1 Item1description
Where 'Item 1' would link to the location of the file in the course. This is the way the filter is intended, but it does not work.
The activity names linking filter does not work to auto-link to Labels. It works with other Activity & Resource names. It does the linking to Activity names in the text in Labels (see screenshot done in 3.1) just as it does in Pages or the HTML block, etc.
When you say Files, do you mean the File activity/resource?
The linking will work if you are using the name of the activity/resource and not the file name of the file that is inside it.
The Folder activity works in the same way: the auto-linking will link to the name of the Folder resource but not to any of the files inside it.
In the Site admin level in Plugins > Filters, I always put it first in the list so it is processed before other filters, especially before the Convert URLs filters. If it is set On for the whole site, you should not need to add it again to any course for it to work.