moodle 3.2 - where is my page header

moodle 3.2 - where is my page header

by Yedidia Klein -
Number of replies: 2
Picture of Plugin developers

Hi developers,


I'm developing a local plugin, using this code in pages :

$PAGE->set_context(context_system::instance());

$PAGE->set_heading(get_string('list','local_xxxx'));

$PAGE->set_title(get_string('list','local_xxxx'));

$PAGE->set_url('/local/xxxx/list.php');

$PAGE->navbar->add(get_string('pluginname','local_xxxx'), new moodle_url('/local/xxxx/'));

$PAGE->navbar->add(get_string('list','local_xxxx'));

...

echo $OUTPUT->header;


on 3.1 I got nice pages, but on 3.2 (boost) - there is no header to the page.. no breadcrumbs...

any idea - what changed ? How do I set to see also page header ?


tnx a lot,


--Y


Average of ratings: -
In reply to Yedidia Klein

Re: moodle 3.2 - where is my page header

by Purnendu Dash -
Picture of Plugin developers

Try adding this code $PAGE->set_pagelayout('standard');

Hope this helps.


Regards,

Purnendu