[opal] [sidebar] Re-ordering sidebar and adding extra boxes
First, the code you're going to have to put in your theme layer: {new stuff in red}
function Page::lay_print_sidebar () {
$this->lay_print_summary();
var string text = """<div class="columnitem">STUFF YOU WANT IN YOUR NEW BOX </div>""";
print_box("TITLE OF NEW BOX ", $text);
$this->print_linklist();
$this->lay_print_freetext();
$this->lay_print_calendar();
}
Of course, you can put these in any order you want. For example:
function Page::lay_print_sidebar () {
var string text = """<div class="columnitem">STUFF YOU WANT IN YOUR NEW BOX </div>""";
print_box("TITLE OF NEW BOX ", $text);
$this->lay_print_freetext();
$this->print_linklist();
$this->lay_print_freetext();
$this->lay_print_summary();
$this->lay_print_calendar();
}
function Page::lay_print_sidebar () {
$this->lay_print_summary();
var string text = """<div class="columnitem">STUFF YOU WANT IN YOUR NEW BOX </div>""";
print_box("TITLE OF NEW BOX ", $text);
$this->print_linklist();
$this->lay_print_freetext();
$this->lay_print_calendar();
}
Of course, you can put these in any order you want. For example:
function Page::lay_print_sidebar () {
var string text = """<div class="columnitem">STUFF YOU WANT IN YOUR NEW BOX </div>""";
print_box("TITLE OF NEW BOX ", $text);
$this->lay_print_freetext();
$this->print_linklist();
$this->lay_print_freetext();
$this->lay_print_summary();
$this->lay_print_calendar();
}