Closed FayCross closed 3 months ago
@FayCross #sectionID should have worked. I have not yet updated my dev enviroment, so will do so later today. It works for mee at the moment and I will let you know if it still works after the update.
Note that the sectionID has to be unique in the project.
There are lots of ways of linking to specific pages and sections in Bootstrap projects - ideally there would just be one way but it looks like lots of different versions have been used over the years. The following will all work when appended to end of URL after a #:
While fixing another issue (https://github.com/thexerteproject/xerteonlinetoolkits/issues/1242) I've noticed that the sectionID in Bootstrap doesn't work as I'd expect. If you add an ID to a page then you add #pageID to end of URL and it will take you straight to that page. I can't work out how you can use the custom section IDs in the URL to jump directly to a particular section (neither #sectionID or #pageIDsectionID work). The only way I can jump to a particular section via the URL is using the section's number (e.g. #pageIDsection2).
I think custom section IDs were added by one of your students @torinfo - am I missing an obvious way of doing this. I have fixed the code so it doesn't stop section links within the page from working but don't think section IDs are being used in a useful way at moment.