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

grandchild of boost union, child of the boost_union_child, to control their own settings #2

Open
twjn opened this issue Feb 23, 2024 · 1 comment
Labels
support although we're trying to maintain a support forum sometimes support issue come up here as well

Comments

@twjn
Copy link

twjn commented Feb 23, 2024

I want each grandchild of boost union, child of the boost_union_child, to control their own settings but instead I get a grandchild listing underneath the boost_union_child, like so:

image

In the image QA is the grandchild.

So if i change any of the settings in the grandchild it also changes the settings in the boost_union_child.

How do I move the grandchild up one level so it can control just its own settings?

Thankyou.

@abias
Copy link
Member

abias commented Feb 23, 2024

Hi @twjn ,

thanks for asking.

We placed the Boost Union Child settings as a subpage of the Boost Union setting by purpose to make clear that Boost Union Child's settings are an addition to the Boost Union settings.

This placement is happening here: https://github.com/moodle-an-hochschulen/moodle-theme_boost_union_child/blob/master/settings.php#L117-L118

If you want your Boost Union Child settings to present a settings page on its own, you could have a look at Boost's settings page on https://github.com/moodle/moodle/blob/main/theme/boost/settings.php and re-build the Boost Union Child page in a similar way.

However, I have to say that this approach is out of scope of what we tried to provide with Boost Union Child so we can't provide much more support, I am afraid.

I will just leave this issue open for some more time in case someone from the community wants to discuss more about this approach.

Cheers,
Alex

@abias abias added the support although we're trying to maintain a support forum sometimes support issue come up here as well label Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support although we're trying to maintain a support forum sometimes support issue come up here as well
Projects
None yet
Development

No branches or pull requests

2 participants