Elegance 2.6.2: Region content missing after customizing “Course overview block”

Elegance 2.6.2: Region content missing after customizing “Course overview block”

by Hartmut Scherer -
Number of replies: 5

Hi all,

I use Elegance 2.6.2 (Build: 20140321) in Moodle 2.6.2 (Build: 20140310) and changed the default home page for users to “My home” and turned customization on. Before changing the default region for the Course overview block, I see all regions including content.

Course overview block with region content

After I selected “Homepage Middle”, the Course overview block appears on the right side, not in Homepage Middle. If I try to configure this block again, I don’t see region content any more.

Course overview block without region content

Did anybody else observe this as well?

With kind regards,
Hartmut

Average of ratings: -
In reply to Hartmut Scherer

Re: Elegance 2.6.2: Region content missing after customizing “Course overview block”

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Hartmut,

'content' is a fake region subject to a core fix: MDL-41551.

Cheers,

Gareth

In reply to Hartmut Scherer

Re: Elegance 2.6.2: Region content missing after customizing “Course overview block”

by Matt Cherry -

Hello Hartmut,

I ran into this exact same problem. Did you ever find a solution for this?

Thanks,

Matt

In reply to Matt Cherry

Re: Elegance 2.6.2: Region content missing after customizing “Course overview block”

by Hartmut Scherer -

Hi Matt,

I just checked MDL-41551 and they are working on the issue. 

With kind regards,

Hartmut

In reply to Hartmut Scherer

Re: Elegance 2.6.2: Region content missing after customizing “Course overview block”

by Matt Cherry -

Hi Hartmut,

Thanks for pointing me to that Tracker request. I somehow missed it. 

In reply to Matt Cherry

Re: Elegance 2.6.2: Region content missing after customizing “Course overview block”

by Matt Cherry -

Hello Hartmut,

I actually got this response to this problem and I tried it and it worked for me. The "content" option is now back in my drop-down menu for page region!....so I figured I'd pass it on to you:

 

The 'content' block is a fake block added by code and often does not show up, so at a guess what I think you need to do given that you have added it back and stipulated a position for it to be is in the database:

  1. Edit the 'block_instances' table and find the row for the 'blockname' of 'course_overview'.  Note down the 'id' and change the 'defaultregion' to 'content'.
  2. Edit the 'block_positions' table and remove any rows where the 'blockinstanceid' is the same as the 'id' above.

Then 'Purge all caches'.

This is only a hunch, so if the DB contents are important, make a backup.

Original source: https://moodle.org/mod/forum/discuss.php?d=258075#p1119019

(Edited by Mary Evans - original submission Thursday, 10 April 2014, 7:00 PM)

Average of ratings: Useful (1)