Dissalowing region-post

Dissalowing region-post

by Karlis Murans -
Number of replies: 2

Hi!

I'm an intern and i have now been working with moodle for about a month. I have been tasked with creating a new custom theme for my companies e-learning project and a part of it is, i have been given pictures of what they want to see. 

A part of what they want is no right side or as it is represented in code region-post, and instead have the main part go from region-post to the right side . 

So is it possible to not allow users to put anything in region-post?







Average of ratings: -
In reply to Karlis Murans

Re: Dissalowing region-post

by Davo Smith -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

This is not my main area of expertise, but in the theme's config.php, you can define each of the available layouts ($THEME->layouts). If you do not include 'side-post' in any of the 'regions' in those layouts, then that should stop anyone from being able to add anything to it (or from having it displayed in the first place).

Average of ratings: Useful (1)