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

Define a partial template which can’t be used directly #48

Open
brendanheywood opened this issue Jun 21, 2023 · 0 comments
Open

Define a partial template which can’t be used directly #48

brendanheywood opened this issue Jun 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@brendanheywood
Copy link
Contributor

brendanheywood commented Jun 21, 2023

More or less like any other template except these will be marked somehow so they don’t appear in the activity chooser and perhaps their inputs can be declared at author. These then become available to other real templates as a partial you you can easily share common bits in one place

This should use the BLOCKS pragma feature here:

https://moodledev.io/docs/guides/templates#blocks

@brendanheywood brendanheywood added the enhancement New feature or request label Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant