September 2009

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
27282930   
[info]lilbreck wrote
on August 16th, 2007 at 01:32 am

[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();
}

(Read Comments)
From:
Identity URL: 
Username:
Password:
Don't have an account? Create one now.
Subject:
No HTML allowed in subject
  
Message:
 

Tags

Powered by InsaneJournal