Hello all. I'm new here and I have a problem with my new Opal layout.
I don't want all of that stuff that I have in my sidebar now, look here:
madeleneG. I just want the usericon, then my own two boxes, and then the navigation box. So I want to take away the calender and the links, and move the navigation down under my own boxes. I have tried, but then the whole sidebar get smaller.
Here is the code I use, would be so nice if someone could help me with it:
layerinfo "type" = "theme";
layerinfo "name" = "Default Template";
layerinfo author_name = "Halffling on LiveJournal.com";
layerinfo author_email = "halffling@livejournal.com";
layerinfo des = "Based on the template offered by ignited";
layerinfo lang = "en";
layerinfo source_viewable = 0;
layerinfo is_public = 0;
set text_post_comment = "Comment";
set text_read_comments = "1 comment // # comments";
set text_post_comment_friends = "Comment";
set text_read_comments_friends = "1 // # ";
set text_meta_music = "Music";
set text_meta_mood = "Mood";
set show_entry_userpic = true;
set lang_fmt_date_short = "%%day%%, %%month%% %%dayord%% %%yyyy%%";
set lang_fmt_time_short = "%%h%%:%%min%%%%a%%m";
set text_back = "Back";
set text_forward = "Forward";
set links_header = "Links";
set tags_aware = true;
function Page::print_custom_head() {
"""
""";
}
function print_stylesheet() {
"""
/* Hello! This is the stylesheet of Halffling @ LJ. */
/* My comments are placed between things like this */
/* in order to help you along. */
body {
background-color:#FFFFFF;
background-image:url(
http://img109.imageshack.us/img109/8276/bg20xw7.gif); background-attachment:fixed;
font-family:Trebuchet MS;
color:#818181;
font-size:11px;
line-height:9pt;
overflow-x:hidden;
margin:5px;
margin-top:10px;
}
html {
scrollbar-face-color:#DADADA;
scrollbar-arrow-color:#DADADA;
scrollbar-highlight-color:#E6E6E6;
scrollbar-3dlight-color:#C1C1C1;
scrollbar-shadow-color:#CDCDCD;
scrollbar-darkshadow-color:#C1C1C1;
scrollbar-track-color:#FFFFFF;
}
.pagealign {
text-align:center;
}
.bodytable {
width:50%;
}
/* borders along the page. */
/* To disable a border, change to 0px */
.border4 {
border:1px solid #B4B4B4;
}
.border3 {
border:2px solid #CDCDCD;
}
.border2 {
border:1px solid #9A9A9A;
}
/* links on page */
a, a b {
color:#4B4B4B;
font-weight:bold;
text-decoration:none;
}
/* links when cursor is hovering over it */
a:hover, a:hover b, a:hover .nosubject {
color:#737373;
font-weight:bold;
text-decoration:none;
}
/* italicized text. Remove if you don't want it a different color */
i {
color:#595959;
}
/* bolded text. Remove if you don't want it a different color */
b {
color:#595959;
}
/* change to 'float:right' if you want your posting icon on the right. */
.userpic2 {
float:left;
text-align:right;
margin-top:0px;
margin-right:0px;
}
/*if userpic in the sidebar is enabled. */
#userpic {
overflow:visible;
text-align:center;
margin-bottom:5px;
padding:2px;
}
/* the next three deal with the navigation links at the top */
#nav {
font-size:10px;
letter-spacing:2px;
text-transform:uppercase;
padding-top:10px;
white-space:nowrap;
}
#nav a {
font-size:10px;
color:#E6E6E6;
text-decoration:none;
padding-left:12px;
padding-right:10px;
padding-top:1px;
background-color:#B4B4B4;
}
#nav a:hover {
color:#737373;
background-color:#CDCDCD;
}
/* main area of text */
#content {
background-color:#DADADA;
padding:2px;
}
.sidetd {
width:175px;
}
/* the columns */
.columncontent {
font-size:11px;
text-align:center;
background-color:#E6E6E6;
padding:2px;
}
/* the header of each column */
.columncontent strong {
font-size:10px;
color:#737373;
font-weight:bold;
text-transform:uppercase;
}
/* text area of the columns */
.columnitem {
padding:2px;
margin-top:4px;
background-color:#FFFFFF;
border:1px solid #9A9A9A;
overflow:visible;
}
/* links in the side column */
#sidecolumn a {
color:#9A9A9A;
font-size:10px;
text-decoration:none;
}
#sidecolumn a:hover {
color:#000000;
font-size:10px;
text-decoration:none;
}
/* the calendar on the side */
.calrow {
clear:both;
width:120px;
text-align:center;
}
.calempty {
width:5px;
}
.calactitem {
font-size:9px;
text-align:center;
background-color:#CDCDCD;
}
.calinitem {
font-size:9px;
text-align:center;
}
/* days on the calendar page */
.bigday {
font-size:11px;
font-weight:bold;
}
/* the text area on the Reply to Post or Comment page */
input, textarea, select {
color:#818181;
font-family:Trebuchet MS;
font-size:11px;
background-color:#FFFFFF;
border:1px solid #C1C1C1;
}
/* the subject of the post */
.subject {
color:#3D3D3D;
font-size:12px;
font-weight:bold;
text-transform:uppercase;
padding-top:1px;
padding-bottom:1px;
}
/* the following deal with entries themselves */
.entry {
font-size:11px;
margin-bottom:10px;
}
.entrycontent {
width:50%;
}
/* mood & song */
.meta {
text-transform:uppercase;
font-size:10px;
font-weight:bold;
}
/* tags */
.tags {
color:#9A9A9A;
font-size:9px;
background-color:#D0D0D0;
text-transform:uppercase;
padding:1px;
}
/* the next two are where it says "posted by" */
.entryinfo {
color:#9A9A9A;
font-size:10px;
font-weight:bold;
text-transform:uppercase;
background-color:#E6E6E6;
padding-top:2px;
padding-bottom:2px;
}
/* the next three deal with the links at the bottom of each entry */
.entrylinks {
font-size:9px;
padding-top:2px;
padding-bottom:2px;
background-color:#C1C1C1;
text-align:center;
}
.entrylinks a {
color:#4B4B4B;
text-align:center;
text-transform:uppercase;
text-decoration:none;
white-space:nowrap;
}
.entrylinks a:hover {
color:#000000;
background-color:#B4B4B4;
text-decoration:none;
}
/* when a whole bunch of replies occurs and they turn to boxes */
.minicomment {
font-size:11px;
padding:4px;
background-color:#E6E6E6;
border:2px solid #FFFFFF;
}
.minicommentholder {
border:1px solid #C1C1C1;
}
.messageholder {
border:1px solid #C1C1C1;
margin-bottom:5px;
margin-top:5px;
}
/* when viewing comments, where it says "comments" */
.notablemessage {
padding:4px;
}
/* year in calendar page */
.systemtext {
color:#447369;
font-weight:bold;
text-transform:uppercase;
}
/* back, forward links, etc. */
.systemmessage {
font-size:11px;
background-color:#E6E6E6;
border:2px solid #FFFFFF;
}
.systemmessage a {
padding-left:10px;
padding-right:10px;
padding-top:2px;
padding-bottom:2px;
}
.systemmessage TD {
font-size:11px;
padding:2px;
}
/* on the comments page, the username of the commenter */
.postedby {
font-size:11px;
text-transform:uppercase;
}
/* if you enabled IP logging */
.ip {
color:#447369;
}
/* if logged in, this edits the "mass action on selected comments" option */
.multiform {
font-weight:bold;
}
/* the links that say 'back to top' at the bottom of each entry */
.backtop {
text-align:right;
}
.backtop a {
color:#A7A7A7;
}
/* I'm not sure if the next two really do anything */
.friendcolor {
width:10px;
height:10px;
}
.friendname {
text-decoration:none;
}
""";
}
function Page::lay_print_sidebar () {
var string intro = """
Hey to you and welcome to the journal of the Swedish princess Madelene. Nah, I'm not really the real Swedish princess, but we can pretend I am. This journal is Friends locked, so if you want to be added, comment and I will give you a yay or nay back. Kisses!
""";
print_box(" ♥ MADELENE ♥ ", $intro);
# $this->lay_print_summary();
$this->lay_print_calendar();
$this->print_linklist();
$this->lay_print_freetext();
var string navigate = """
""";
print_box("Livejournal Navigation", $navigate);
var string newcolumn1 = """
Hpbooks
http://img148.imageshack.us/img148/6088/hpbooksxw2.jpg">
Hpmovies
http://img148.imageshack.us/img148/1074/hpmoviesmh9.jpg">
Slash
http://img148.imageshack.us/img148/3083/slashbj1.jpg">
Harry/Draco
http://img148.imageshack.us/img148/8027/hdaa9.jpg">
Queer as folk
http://img148.imageshack.us/img148/5284/qafbu3.jpg">
Clothes/Fashion
http://img148.imageshack.us/img148/1959/clothesgu9.jpg">
History
http://img148.imageshack.us/img148/3668/tudorto8.jpg">
""";
print_box("THINGS I LIKE", $newcolumn1);
var string newcolumn2 = """
Insert something here!
Insert something here!
""";
print_box("Yet another column", $newcolumn2);
}
function Page::lay_print_header () {
# this is the order of the links
var string[] views_order = [];
var string title = $this->title();
"""
""";
foreach var string v ($views_order) {
println "
"+lang_viewname($v)+"";
}
var string website;
if($.journal.website_url != "") {
$website = """
Google""";
}
"""
$website
""";
var string[] text;
var string[] url;
# copy sets as necessary
# make sure that the index numbers (bolded numbers) are the same in each group
# this program will step thru them in numerical order
$text[0] = "Main";
$url[0] = "$*SITEROOT/users/madeleneG";
$text[1] = "Userinfo";
$url[1] = "$*SITEROOT/userinfo.bml?user=madeleneG";
$text[2] = "Update";
$url[2] = "$*SITEROOT/update.bml";
$text[3] = "Friends";
$url[3] = "$*SITEROOT/users/madeleneG/friends";
$text[4] = "Memories";
$url[4] = "$*SITEROOT/tools/memories.bml?user=madeleneG";
foreach var int i (0 .. (size($text) - 1)){
println """
$text[$i]""";
}
"""