Long-term effect of theme changes

Re: Long-term effect of theme changes

by Javier Cuadrado -
Number of replies: 0
Hi Mark,

Thanks a lot for your answer.

I have made a copy in my child theme footer.mustache of Boost (thanks for the ressources ! )

I have decided to replace the code with this one, as not all the elements that come with boost footer.template would correspond to the ones requested in the spec.

However, saving custom_menu_flat() could be interesting as I have items added in the custom_menu of the nav_bar. However, when testing in the mobile version, no elements appear in the footer. Does it seem that they are different functions? (I have another ticket open on this issue)-

It's good to know that as long as I don't modify the boost_theme I won't have a problem with the updates.
Although I guess I won't be able to benefit from them if I have completely changed the template ? For example, with the accessibility improvements that will come with moodle version 4, would I need to retrieve the new boost template 4.0 again and modify it? (I don't know if my question is clear 😅)

<footer id="page-footer" class="py-3 text-white">
    <div class="container">
        <nav class="d-flex justify-content-center">
            <ul>
                <a href="https://docs.moodle.org/311/en/my/index"><i class="fa fa-users fa-2x"></i>{{#str}} about_us, theme_javier {{/str}}
</a>
            </ul>
            <ul>
                <a href="https://www.crp-epnak-foad.com/"><i class="fa fa-question-circle fa-2x"></i>{{#str}} faq, theme_javier{{/str}}</a>
            </ul>
            <ul>
                <a href="https://crp-epnak-pad.tech/"><i class="fa fa-envelope fa-2x"></i>{{#str}} contact_us, theme_javier {{/str}}</a>
            </ul>
            {{# output.custom_menu_flat }}
                <ul class="list-unstyled pt-3">
                    {{> theme_boost/custom_menu_footer }}
                </ul>
            {{/ output.custom_menu_flat }}
        </nav>
        {{{ output.standard_end_of_body_html }}}
    </div>
</footer>