moodle 2.7.2
essential theme
i want to hide the maincontent() in front page, i tried but they shows program errror. echo maincontent must be there.
moodle 2.7.2
essential theme
i want to hide the maincontent() in front page, i tried but they shows program errror. echo maincontent must be there.
Look at the divs and use display:none - its not exactly efficient in terms of page load speed, but it works.
Alternatively and probably better, actually look at what the different bits of the renderer are doing and override the renderers rather than creating your own maincontent replacement (where there are renderers)
Richard
Coding error detected, it must be fixed by a programmer: page layout file [dirroot]/theme/essential/layout/frontpage1.php does not contain the main content placeholder, please include "<?php echo $OUTPUT->main_content() ?>" in theme layout file.
the above is the error that i got.
I got it richard thanks.....thanks a lot.