Cannot get rid of 'Tool' Moodle header on 'Platform' site

Cannot get rid of 'Tool' Moodle header on 'Platform' site

Jake Dallimore -
回帖数:1
Core developers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像 Testers的头像

Hi Mark,

You've just discovered a long standing limitation and perhaps a good candidate for future improvement. 

With published activities, we force the page layout to embedded for student launches, and this works fine. With courses, we don't do this (we never have, even going back to before I ported the tool/provider to LTI1.3) so we'll fall back on the default 'course' layout in those cases (and yes, the header is shown in the course layout). FYI, you can see layouts here: https://docs.moodle.org/dev/Page_API#Base_theme_page_layouts.

I think, ideally, we'd have a layout that we could use for course publishing, which excluded site nav, but I don't think a layout like that exists yet. Might be one to create a tracker issue for (using "Publish as LTI tool" as the component, if you do).

Cheers,
Jake