remove the theme styles from Glossary pop-up

remove the theme styles from Glossary pop-up

by Lary Stucker -
Number of replies: 2
When someone clicks on a glossary link in a course the pop-up window contains my theme, the header with navigation. I don't want that, I just want the pop-up window to contain the glossary functionality not theme. Does anyone know what I have to modify to make that happen?

Thanks,

-Lary
Average of ratings: -
In reply to Lary Stucker

Re: remove the theme styles from Glossary pop-up

by Phil Man -
Hy,

here is a solution that works but is it the good one ?

edit showentry.php in /mod/glossary

and modify line 57 (moodle 195+) :
print_header(strip_tags("$course->shortname: $strglossaries $strsearch"), $course->fullname, $navigation, "", "", true, " ", " ");

change like this :
print_header();

I hope there is a best solution without modifying the core code.