There was no reference to a noheader option in the docs, so I tried it and it doesn't work. Does this option not exist?
'popup' => array(
'file' => 'general.php',
'regions' => array(),
'options' => array('nofooter'=>true, 'noheader'=>true, 'nonavbar'=>true),
),
Patrick Malley
Posts made by Patrick Malley
Moodle in English -> Themes -> .side-post-only -> Re: .side-post-only
by Patrick Malley -
Create a course and put all of your sideblocks into the post column only. Turn editing off and you should have a .side-post-only class added to the body element.
Thanks for the confirmation. This is a bug then.
I'm not sure I gather why your code would have to be rewritten.
You have Base as your foundation. Load that first.
$THEME->parents = array('functional');
Then, you'd add your "visual" structural layer. This would be your theme family that you could apply to multiple themes by just including it in the new theme config.php. (Note: I've found that Moodle 2.0 loads the stylesheets in the reverse order that they appear in the config.php array. Therefore, the following will load from right to left.)
$THEME->parents = array('visual', 'functional');
Then, you'd add your "behavioral" layer. I'm assuming that this will replace javascript and add background colors and images to suit your clients' specific needs.
$THEME->parents = array('behavioral', 'visual', 'functional');
No code would have to be repeated. Assuming you have a solid family (visual) theme, your final coding for your client shouldn't take much time at all.
You have Base as your foundation. Load that first.
$THEME->parents = array('functional');
Then, you'd add your "visual" structural layer. This would be your theme family that you could apply to multiple themes by just including it in the new theme config.php. (Note: I've found that Moodle 2.0 loads the stylesheets in the reverse order that they appear in the config.php array. Therefore, the following will load from right to left.)
$THEME->parents = array('visual', 'functional');
Then, you'd add your "behavioral" layer. I'm assuming that this will replace javascript and add background colors and images to suit your clients' specific needs.
$THEME->parents = array('behavioral', 'visual', 'functional');
No code would have to be repeated. Assuming you have a solid family (visual) theme, your final coding for your client shouldn't take much time at all.
I totally agree with John here. The calendar page is strange in that it uses the same sideblock classes for the minicalendars as actual sideblocks. But, these "sideblocks" do not live inside the the right column like a normal sideblock should. It's awkward and inconsistent, for sure.
The expected behavior would be to place the right column mini calendar sideblocks inside the actual right column so that they appear the same width as other sideblocks. However, I'm not sure this is possible since the column would not take other sideblocks.
John - This may be a place where a renderer allows you greater freedom, although I admit that I haven't made it that far in my work to try it out. A new layout for the calendar still wouldn't give you the kind of fine control that you're probably looking for.
The expected behavior would be to place the right column mini calendar sideblocks inside the actual right column so that they appear the same width as other sideblocks. However, I'm not sure this is possible since the column would not take other sideblocks.
John - This may be a place where a renderer allows you greater freedom, although I admit that I haven't made it that far in my work to try it out. A new layout for the calendar still wouldn't give you the kind of fine control that you're probably looking for.