in theme's folder in the file header.html I corrected all paths to the pictures.
from
to
The paths were changed because when a theme is set on a separate course pictures are not loaded (the links lead to a site-wide theme).
After this change it started working.
But still I wonder, what is this variable ($CFG->pixpath) for? And whether there're gonna be troubles in certain cases.
Thank you in advance )
from
<!--"<?рhp echo "$CFG->wwwroot/theme/$CFG->theme" ?>/pix/top_bg.gif">"-->
to
<!--"<?рhp echo "$CFG->pixpath" ?>/main_bg_left.gif">"-->
<!--"<?рhp echo "$CFG->wwwroot/theme/$CFG->theme" ?>/pix/top_bg.gif">"-->
to
<!--"<?рhp echo "$CFG->pixpath" ?>/main_bg_left.gif">"-->
Two things:
* if this behaves like you said, it's a bug.. you can report it in the tracker, so that developers know about it, and fix it...
* at first look, this doesn't seem to be too dangerous a modification, but you have to be careful when you upgrade, as you might loose this modification; this is one big reason not to modify core files
Mathieu
* if this behaves like you said, it's a bug.. you can report it in the tracker, so that developers know about it, and fix it...
* at first look, this doesn't seem to be too dangerous a modification, but you have to be careful when you upgrade, as you might loose this modification; this is one big reason not to modify core files
Mathieu