@zadowj
This is possible, but you will need to use the browser's developer tools to get the link.
I do not know if it will update correctly when you copy the content to reuse it, so this may be a lot of work for one course that you need to duplicate if you reuse the course. I would try it once and then copy the course and see if it's going to work before wasting a lot of time and then finding out I was going to have to do that again next semester.
I'm going to describe how to do this in Chrome, but the process is similar with Firefox (keyboard shortcuts are different). I recommend Chrome as it makes things a little easier to find.
- Mouse over the header text that you would like to link to.
- Click the right mouse button and choose Inspect (Ctrl+Shift+I) in Chrome or Inspect Element in Firefox.
- Scan upwards through the content shown to find the li element that contains the header. It will have an id="context_module_item_12345" (although the 12345 is not the number that you will see). This is the id that you need to use in your link.
- When you add your link, you will need to use /courses/:course_id#context_module_item_12345. Replace the :course_id with the numeric code for your course. Note that if your home page is not the modules page, then you will need to use /courses/:course_id/modules#context_module_item_12345.
Note that where the browser scrolls to depends on the browser. In Chrome, it scrolls so that my header text is at the very top of the screen. In Firefox, there were still two items above it.
Also note that I have not tested this in the mobile apps. They do things differently than browsers. You may not get the scroll you want if there's not enough content on the page (presumably not a problem with the modules page).
There is a good discussion of anchor tags and some of the shortcomings here: Anchor Tags explained by a language teacher.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.