HotPotatoes frame too high if Admin bar is on
HotPotatoes frame to hight if Admin bar is on
We can't see menu, nor breadcrumb
So you know if we have a function to check if admin bar is on for current user ?
(depends if it is student, teacher, admin ...)
If bar is on, add 45px in $header_height line 126 in file exercice/showinframe.php
Updated by Julio Montoya over 8 years ago
- Status changed from New to Needs more info
I checked the code of exercice/showinframes.php and there are some frames, and a custom header (exercice/testheaderpage.php) ...
Why we don't use just an iframe and the call the Display::display_header(); function?