Open Collapsed Topic via a link/button

Re: Open Collapsed Topic via a link/button

by Gareth J Barnard -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
Not really trivial as could be either of:

  • Have a parameter in the URL before the anchor that stated that 'section-X' needed to be open (PHP does not get told of the anchor in the URL).
  • Detect the anchor in JS and have module.js open the toggle automatically.
With both, then would need to consider if the state was saved.  So, pragmatically, this is a reasonable amount of work for such an enhancement, and I'd like to be compensated for my time in doing so.