"Additional html footer" does not display with Essential Theme

"Additional html footer" does not display with Essential Theme

by Pascal Maury -
Number of replies: 3
Picture of Plugin developers
Hello !
 
We use Piwik for web analytics so I added the code in the "additionalhtmlfooter" field in Moodle.
But the "Piwik html code" is not added into the page with the Essential theme. Why ?
(the html is added when I choose the standard theme)
 
Thank !
 
Pascal
 
Average of ratings: -
In reply to Pascal Maury

Re: "Additional html footer" does not display with Essential Theme

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

I would guess it is because <?php echo $OUTPUT->standard_footer_html(); ?> is missing from the layout files in the Essential theme...

It needs to be added just before the closing </footer> tag like so...

     
    <footer id="page-footer" class="container-fluid">
        <?php require_once(dirname(__FILE__).'/includes/footer.php'); ?>

        <?php echo $OUTPUT->standard_footer_html(); ?>
    </footer>

Hope this fixes the problem?

Cheers

Mary

In reply to Mary Evans

Re: "Additional html footer" does not display with Essential Theme

by Julian Ridden -

Hi all,

I don't know how or when this dropped out of Essential. It certainly was not intended.

I have updated the github (and soon the Plugins DB) with an updated version.

Julian

Average of ratings: Useful (1)
In reply to Julian Ridden

Re: "Additional html footer" does not display with Essential Theme

by Pascal Maury -
Picture of Plugin developers

Hello,

Thank you for the answer. I apologize because I was using Essential Theme version 2013120200 (designed for Moodle 2.5, isn't it ?) .
So I updated to the version 2014020300 and :

- it works (I mean I see the additionnal HTML code) with a moodle 2.6.1 20140213

- it still does not work with my site using moodle 2.6.1 20140113

I can not update my site right now, but maybe something changed in Moodle code ?

 

Anyway, checks your last modifications because it appears that "HTML additionnal code" works with the Essential Theme version 2014020300. Maybe the update you did wednesday is not necessary ?