Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include block not working in the API #1315

Open
EJMFarrow opened this issue Nov 18, 2024 · 2 comments
Open

Include block not working in the API #1315

EJMFarrow opened this issue Nov 18, 2024 · 2 comments
Assignees
Milestone

Comments

@EJMFarrow
Copy link
Collaborator

Include blocks aren't working in the standalone version of the API.

Looks like vle_specific.php isn't currently being emulated at all so worth checking there's nothing else lurking there.

@EJMFarrow EJMFarrow added this to the 4.9.0 milestone Nov 18, 2024
@EJMFarrow EJMFarrow self-assigned this Nov 18, 2024
@aharjula
Copy link
Member

Ahh that [[include/]] probably stopped working due to #1021 and I suspect you have the same issue with include() in keyvals. Other than that there are various URLs like the MathJax to use and the bits in the cors-folders that are defined over there. There is nothing that should be impossible to map, though.

@EJMFarrow
Copy link
Collaborator Author

Thanks, @aharjula . Yeah, should be OK. I just want to check that I haven't missed anything else the API could use somehow. Don't think the include has ever worked - it's tripping up (at least initially) because PARAM_URL is undefined!

(Note to self: Define in MoodleEmulation.php as clean_param() is emulated there.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants