Hi,
Thanks for this great theme. Could you please advise on how to show the 'Moodle Docs for this page' in the footer?
I'd like to show them for administrators only.
Regards,
Chris
Hi,
Thanks for this great theme. Could you please advise on how to show the 'Moodle Docs for this page' in the footer?
I'd like to show them for administrators only.
Regards,
Chris
Hi Chris,
The docs will appear if you install the latest version of the theme, to make it conditional for administrators only look at the footer.php (theme/bcu/layout/includes/footer.php) at link 69.
Wrap that echo statement in an if statement checking against has_capability, and that should sort your problems.
Hi Mike,
Thanks for your reply, appreciate it. I am already using the footnote as my entire footer. Is there a code that I can add to the footer page to show Moodle docs without updating the entire theme?
Regards,
Chris