Moodle theme tutorial 2/4 - Creating settings page and custom scss files
HTML-код
- Опубликовано: 6 июн 2020
- Get the full course on Udemy: www.udemy.com/course/moodle-d...
Here we continue with setting up our custom theme docs.moodle.org/dev/Creating_...
We create a settings page and apply custom css to our moodle site.
You can find the code here: github.com/kristian-94/moodle...
To set up a local moodle environment, see: • Moodle setup tutorial ...
To create a block plugin, see: • Moodle developer tutor...
For custom development work, one on one training, or Moodle hosting, get in touch with us over at ringertech.org/contact
You are a HERO. If you ever need something am here for you!!
You helped me a lot , thanks :*
Excellent course
27/07/2020
thanks, thanks, thanks a lot!
Very nice tutorial,
i have a question, is it possible to set some html code in settings.php page?
for example buttons with action or maybe a table.
I would check to see if any moodle built in settings help you, eg.
$settings->add(new setting_button())
for a button. You could use templates to render to the settings page but shouldn't need to do that except for an advanced case, probably better to have a separate page for that and leave the settings page alone
Hello and thanks for this tutorial!
What if you want to load the parent styles and add them your styles?
I'm working not with Boost theme but with other based on boost, so I want to make a child theme of that other one and load its styles. Then, I will add other styles.
Is it possible?
Thanks so much
Glad you enjoyed the video :) When you make a child theme you inherit all the styles and templates from the parent. You would not get styles that are just config in the theme settings though, you would have to copy them into your new theme config settings area.
We have to use only scss we can't use normal css?
You can put normal css into an scss file and it will work the same
@@swish1234567890 thank you.
Should we create plugin before theme?
They're independent so you can do whatever you want first
Had to use $brand-primary instead of $primary...
hi moodle visual studio code language full add mongolia tuturials lesson