Theme Layout problem Moodle 2.9.3

Theme Layout problem Moodle 2.9.3

by Dave Emsley -
Number of replies: 4

Hi there,

I've editing my layouts and the following has the desired effect - it puts the Main Menu block into the footer of the frontpage.

 <footer id="page-footer">
    <?php echo $OUTPUT->blocks('side-pre', 'span4 desktop-first-column'); ?>
    <div class="clearfix"></div>
        <div id="course-footer"><?php echo $OUTPUT->course_footer(); ?></div>
        <p class="helplink"><?php echo $OUTPUT->page_doc_link(); ?></p>
        <?php
        echo $html->footnote;
        echo $OUTPUT->login_info();
        echo $OUTPUT->home_link();
        echo $OUTPUT->standard_footer_html();
        ?>
    </footer>

It doesn't work on another layout however.  Anyone any idea why it might not?


Thanks in advance,


Dave

Average of ratings: -
In reply to Dave Emsley

Re: Theme Layout problem Moodle 2.9.3

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
In reply to Gareth J Barnard

Re: Theme Layout problem Moodle 2.9.3

by Dave Emsley -

Thanks for the response but I'm not sure what aspect of the document referenced is relevant to the block displaying on one page but not on another.

I note that the whole <aside> is set to display: none by the css but I've catered for that (or thought I had).

Cheers

Dave


In reply to Dave Emsley

Re: Theme Layout problem Moodle 2.9.3

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

Hi,

It would help if you listed the layout file you have customised and also the layout arrary you added to your theme's configure.php at $THEME->layouts 

Thanks

Mary