& so we dream on and on (lady_maethoriel) wrote in component_help,
& so we dream on and on
lady_maethoriel
component_help

  • Mood:
See on my layout, under calendar, it says About My Journal? Well, I can't figure out where in the overrides (I'm just calling them overrides, I know they're not, but it's late and I'm tired) to add my stuff into there! Here they are:


layerinfo "type" = "theme";
layerinfo "name" = "v1.2 Johnny Depp";
set font_size = "normal";
set text_post_comment = "";
set page_recent_items = 20;
set lineheight = 12;
set free_text = "";
set show_free_text = true;
set text_meta_mood = "feeling";
set calendar_fgcolor = "#8e7366";
set page_friends_items = 20;
set calendar_inactive = "#b8b3b0";
set comment_divider = "&";
set text_read_comments = "# replied";
set text_post_comment = "reply";
set entry_fgcolor = "#614535";
set text_post_comment_friends = "reply";
set calendar_link = "#7e6d66";
set comp_bgcolor = "#9c9998";
set text_meta_music = "hearing";
set comp_navbar = true;
set header_fgcolor = "#614235";
set entry_link_visited = "#7e6d66";
set font_family = "trebuchet ms, sans-serif";
set background_scrolling = "fixed";
set text_read_comments_friends = "# replied";
set nav_text_back = "PAST";
set calendar_active = "#c0a99c";
set nav_entries_text = "PRESENT";
set nav_calendar_text = "CALENDAR";
set nav_info_text = "USER INFO";
set nav_friends_text = "FRIENDS";
set fourth_position = "links_order";
set underline_links = "YES";
set entry_link = "#8a6950";
set nav_text_forward = "FUTURE";
set show_entry_userpic = true;
set entry_bgcolor = "#b8b3b0";
set main_bgcolor = "#b8b2b0";
set comp_state = "right";
set show_profile = true;
set header_bgcolor = "#a78560";
set comments_bgcolor = "#8C1D7E5";
set third_position = "calendar_order";
function page_layout(Page p) {
var string title = $p->title();
"""
<html>
<head>
<style>

img {
border: 1px;
}

.calendarInactive {
font-size: 8pt;
border: 1px solid #c0a99c;
}
.calendarActive {
font-size: 8pt;
border: 1px solid #c0a99c;
}
.sideheader {
font-size: 8pt;
}
.entry {
font-size: 8pt;
text-align: justify;
}
.entryDate {
font-size: 8pt;
font-weight: bold;
text-transform: uppercase;
font-color: #6d8e67;
}
.entryHeader {
font-size: 8pt;
font-weight: bold;
text-transform: uppercase;
font-color: #6d8e67;
}
select, input, textarea {
font-size: 8pt;
}

}

</style>
<link rel="stylesheet" href="$p.stylesheet_url" type="text/css" />
$p.head_content
<title>        & so we dream           
on and on                                                  </title>
</head>
<body>
<br><DIV ALIGN=CENTER>
<IMG SRC="http://img.photobucket.com/albums/v237/romantic_heart/Headers/johnnydepp.jpg" BORDER="0">
</DIV><BR>
<table width="700" cellspacing="0" cellpadding="0" valign="top" align="center">
<tr valign="top" width="700">
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
</td>
""";

if ($*comp_state == "left") {
print_my_components($p);
"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
</td>
""";
}

print_my_entries($p, $title);
if ($*comp_state == "right") {
"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
</td>
""";

print_my_components($p);
}
"""
<td width="3">
<img src="http://www.livejournal.com/palimg/component/clear.gif"
width="3" height="1" alt="" border="0">
</td>
</tr>
</table>
</body>
</html>
""";
}

function print_entry_header(string content) {
"""
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="dkLine" colspan="7"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" colspan="5"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" colspan="4"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="tabBg" rowspan="1" colspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="tabBg" colspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="tabBg" colspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" width="1" rowspan="3"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" width="1" rowspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" width="3" ><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
<td class="tabBg" width="100%">
<div class="entryDate" style="position:relative; top:-3px;
left:2px;">$content</div>
</td>
<td class="tabBg" width="3" ><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
<td class="medLine" width="1" rowspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" width="1" rowspan="3"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="medLine" colspan="4"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" colspan="5"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
</table>""";
}

function print_comp_header(string content) {
var string style = ($*comp_state == "right") ? "
style='margin-right:3px;'" : "";
"""
<tr$style>
<td class="dkLine" colspan="7"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" colspan="5"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" colspan="4"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="tabBg" rowspan="1" colspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" rowspan="3" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="tabBg" colspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="tabBg" colspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" width="1" rowspan="3"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="ltLine" width="1" rowspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="medLine" width="3" ><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
<td class="tabBg" width="100%">
<div class="sideHeader" style="position:relative; top:-3px;
left:2px;">$content</div>
</td>
<td class="tabBg" width="3" ><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
<td class="medLine" width="1" rowspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="dkLine" width="1" rowspan="3"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="medLine" colspan="4"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" colspan="5"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
</tr>
<tr>
<td class="dkLine" width="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td>
<td class="compBg" width="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
<td class="compBg" width="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td>
<td class="compBg"><div class="compFont">""";
}

function print_nav_comp(Page p) {
var string nav_box_open = """<tr><td class="dkLine"
colspan="7"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="dkLine"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="ltLine"
colspan="5"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="dkLine"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="dkLine"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="ltLine"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="medLine"
colspan="4"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="dkLine"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="dkLine"
rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td><td class="ltLine"
rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td><td class="medLine"
rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td><td class="tabBg"
rowspan="1" colspan="2"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td><td class="medLine"
rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td><td class="dkLine"
rowspan="3" colspan="1"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td></tr><tr><td
class="tabBg" colspan="2"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td></tr><tr><td
class="tabBg" colspan="2"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="3" alt="" border="0" /></td></tr><tr><td
class="dkLine" width="1" rowspan="3"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td><td class="ltLine" width="1" rowspan="2"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td><td class="medLine" width="3"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td><td class="tabBg" width="100%"><div class="compFont"
style="position:relative; top:-3px;">""";
var string nav_box_close = """</div></td><td class="tabBg" width="3"
><img src="$*PALIMGROOT/component/clear.gif" width="1" height="3"
alt="" border="0" /></td><td class="medLine" width="1"
rowspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="dkLine" width="1"
rowspan="3"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="medLine"
colspan="4"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="dkLine"
colspan="5"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td></tr>""";

print $nav_box_open;

var string[] views_order = ["recent", "friends", "archive", "userinfo"];
var string{} view_names = {"recent" => $*nav_entries_text,
"friends" => $*nav_friends_text, "archive" => $*nav_calendar_text,
"userinfo" => $*nav_info_text};
foreach var string v ($views_order) {
if($v != "recent"){
"""<div class="ltLine"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></div>""";
}
"""<div class="compList"><a href=\"""" + $p.view_url{$v} + """\"
class="headerLinks">""" + $view_names{$v} + "</a></div>";
}

var string website_name = $p.journal.website_name ?
$p.journal.website_name : $*text_website_default_name;
if ($p.journal.website_url != "") {
"""<div class="ltLine"><img
src="http://stat.livejournal.com/palimg/component/clear.gif" width="1"
height="1" alt="" border="0" /></div>""";
"""<div class="compList"><a
href="$p.journal.website_url">$website_name</a></div>""";
}

$p->lay_viewspec_nav();


print $nav_box_close;
}

function print_bottom_nav(RecentPage p) {
var string prev = "";
var string next = "";

var string bottom_nav_box_open = """<table cellspacing="0"
cellpadding="0" border="0"><tr><td class="dkLine" colspan="7"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td></tr><tr><td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td><td class="ltLine" colspan="5"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td><td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td></tr><tr><td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td><td class="ltLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td><td class="medLine" colspan="4"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td><td class="dkLine" colspan="1"><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="1" alt=""
border="0" /></td></tr><tr><td class="dkLine" rowspan="3"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="ltLine" rowspan="3"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="medLine" rowspan="3"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="tabBg" rowspan="1"
colspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="medLine" rowspan="3"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="dkLine" rowspan="3"
colspan="1"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="tabBg"
colspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="tabBg"
colspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="3" alt="" border="0" /></td></tr><tr><td class="dkLine"
width="1" rowspan="3"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td><td class="ltLine"
width="1" rowspan="2"><img src="$*PALIMGROOT/component/clear.gif"
width="1" height="1" alt="" border="0" /></td><td class="medLine"
width="3"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="3" alt="" border="0" /></td><td class="tabBg"
width="100%"><div class="compFont" style="position:relative; top:-3px;
left:2px;">""";
var string bottom_nav_box_close = """</div></td><td class="tabBg"
width="3" ><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="3" alt="" border="0" /></td><td class="medLine" width="1"
rowspan="2"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td><td class="dkLine" width="1"
rowspan="3"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="medLine"
colspan="4"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td class="dkLine"
colspan="5"><img src="$*PALIMGROOT/component/clear.gif" width="1"
height="1" alt="" border="0" /></td></tr><tr><td><img
src="$*PALIMGROOT/component/clear.gif" width="1" height="3" alt=""
border="0" /></td></tr></table>""";

var Color ltLineColor = $*header_bgcolor->lighter(30);
var Color dkLineColor = $*header_bgcolor->darker(50);
var string ltLineString = $ltLineColor.as_string;
var string medLineString = $*header_bgcolor.as_string;
var string dkLineString = $dkLineColor.as_string;

var string prevPalImg = "p1" + $ltLineString->substr(1,6) + "0" +
$dkLineString->substr(1,6);
var string nextPalImg = "p0" + $ltLineString->substr(1,6) + "1" +
$dkLineString->substr(1,6) + "2" + $medLineString->substr(1,6);

if($p.nav.backward_url != "") {
$prev = """<span class="header-item"><a href="$p.nav.backward_url"
class="headerLinks"><img
src="$*PALIMGROOT/component/back.gif/$prevPalImg" width="13"
height="10" alt="$*nav_text_back" border="0" />
$*nav_text_back</a></span>""";
}

if($p.nav.backward_url != "" and $p.nav.forward_url != "") {
$prev = $prev + " ";
}

if($p.nav.forward_url != "") {
$next = """<span class="header-item"><a href="$p.nav.forward_url"
class="headerLinks">$*nav_text_forward <img
src="$*PALIMGROOT/component/forward.gif/$nextPalImg" width="13"
height="10" alt="$*nav_text_forward" border="0"></a></span>""";
}

print $bottom_nav_box_open;
"""<div style="position:relative; top:-5px;
text-align:center;">$prev$next</div>""";
print $bottom_nav_box_close;
}

function print_my_entries(Page p, string title) {

"""<td valign="top" width="100%">""";

$p->print_body();

}
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 3 comments