Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.8
-
Fix Version/s: None
-
Component/s: Resource
-
Labels:None
-
Environment:LAMP
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE
Description
There is an attribute when editing a resource where you can specify that you wish to display course blocks when viewing the resource.
This attribute doesn't work, resulting in that course blocks never gets shown.
In mod/resource/lib.php on line 151 in function "display_course_blocks_start()" it says:
$pageblocks = blocks_setup($PAGE);
Change this to:
$pageblocks = blocks_setup($PAGE, BLOCKS_PINNED_BOTH);
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
Hello,
this issue was reported a few times, that was one of the reasons why the blocks were rewritten in 2.0, no fixing is planned for 1.9, sorry.
Petr Škoda