This is my second post in this forum. I am new to Moodle development, and I am having some issues while trying to develop a page that can be accessed by users before registering to know more about the platform we are working on.
All I need is a page that I already have developed using mustache inside theme/theme_name/templates/page.mustache. I have already modified login.mustache the same way and had 0 problems with it, even loading correctly different translations and css from /theme/theme_name/scss/moodle/login.scss.
I am trying to achieve the same result with this new page, but I cannot make it. Could it be because login.mustache is overriding an existing template and the new page is not?
If that is the case, which is the best way to achieve what I want to do?
As you can see at the picture, from the login page you can access the home.php link and it calls a render from template, which is inside theme/theme_name/templates/test.mustache.
The page gets created, but not css is applied to it and cannot load the text from theme/theme_name/lang/en/theme_name.php.
Css is already added on /theme/theme_name/scss/moodle/test.scss and it is imported on /theme/theme_name/scss/moodle.scss
What am I doing wrong?
Thank you very much and do not hesitate to ask me about more info if needed.
PD: Custom theme is inherit from boost