Returning just a course ID

Re: Odp: Re: Odp: Re: Returning just a course ID

door Mark Johnson -
Aantal antwoorden: 0
Foto van Core developers Foto van Particularly helpful Moodlers Foto van Peer reviewers Foto van Plugin developers

Not Really. The code Megan's talking about is for a custom block, the HTML block won't allow you to include PHP. It might be possible to do something with Javascript (looking at the course page's URL, pulling out the ID, and appending it to the src attribute of the embed) but it would be tricky as the HTML Editor will try to strip out the Javascript.

Gemiddelde van de beoordelingen:  -