bt. (ezrafitchh) wrote in component_help,
bt.
ezrafitchh
component_help

  • Mood:

layout error?

So I haven't used lj since about 04.
Not since this new s2-ness.

I created a layer, and am trying to input my codes but something isn't working correctly.
I'm not sure what I'm doing wrong, cause I'm a dumbarse






layerinfo "type" = "user";
layerinfo "name" = "btone";
set font_size = "small";
set text_post_comment = "Car Crash";
set page_recent_items = 5;
set lineheight = 11;
set free_text = "";
set text_meta_mood = "feeling";
set calendar_fgcolor = "#C1C1C1";
set page_friends_items = 25;
set calendar_inactive = "#FFFFFF";
set comment_divider = "?";
set text_read_comments = "1 // # ";
set entry_fgcolor = "#575757";
set text_post_comment_friends = " Comment";
set calendar_link = "#FFFFFF";
set comp_bgcolor = "#C1C1C1";
set text_meta_music = "hearing";
set comp_navbar = true;
set header_fgcolor = "#575757";
set entry_link_visited = "#575757";
set font_family = "Verdana, sans-serif";
set background_scrolling = "fixed";
set text_read_comments = "1 // # ";
set nav_text_back = "PREVIOUS";
set calendar_active = "#C1C1C1";
set nav_entries_text = "ENTRIES";
set nav_calendar_text = "ARCHIVE";
set nav_info_text = "USER INFO";
set nav_friends_text = "FRIENDS";
set fourth_position = "links_order";
set underline_links = "yes";
set entry_link = "#575757";
set nav_text_forward = "NEXT";
set show_entry_userpic = true;
set entry_bgcolor = "#FFFFFF";
set main_bgcolor = "#C1C1C1";
set comp_state = "right";
set show_profile = true;
set header_bgcolor = "#FFFFFF";
set comments_bgcolor = "#C1C1C1";
set third_position = "calendar_order";
set show_free_text = true;
function page_layout(Page p) {
var string title = $p->title();
"""



$p.head_content
ANYTHING HERE ..
.sideheader {
font-size: 7pt;
}
.entry {
font-size: 7pt;
}

.entryDate {
font-size: 7pt;
}
.entryHeader {
font-size: 7pt;
}
select, input, textarea {
font-size: 7pt;
}

a:link {
font-size: 7pt;
}
a:visited {
font-size: 7pt;
}
a:hover {
font-size: 7pt;
}
a {
font-weight: bold;
}
a:link {
font-weight: bold;
}
a:visited {
font-weight: bold;
}
a:hover {
font-weight: bold;
}
.entryDate {
text-align: center;
}
.entryHeader {
text-transform: uppercase;
}
html {
scrollbar-3dlight-color: #C1C1C1;
scrollbar-arrow-color: #FFFFFF;
scrollbar-base-color: #C1C1C1;
scrollbar-darkshadow-color: #C1C1C1;
scrollbar-face-color: #C1C1C1;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #F5F2ED;"
}


img { border: 0px; }







""";
if ($*comp_state == "left") {
print_my_components($p);
"""



""";
}
print_my_entries($p, $title);
if ($*comp_state == "right") {
"""



""";
print_my_components($p);
}
"""







""";
}
function print_profile(Page p) {
print_comp_header("profile");
"""




$p.journal.default_pic





PROFILE PROFILE

""";
print_comp_footer();
}
function print_my_entries(Page p, string title) {
"""print_body();
}
set first_position = "navigation_order";
set second_position = "calendar_order";
set third_position = "free_text_order";
set fourth_position = "links_order";
set fifth_position = "";
set nav_entries_text = "ENTRIES";
set nav_friends_text = "FRIENDS";
set nav_calendar_text = "ARCHIVES";
set nav_info_text = "USERINFO";
set comp_navbar = true;
set show_free_text = true;

set lineheight = 12;

function print_free_text(Page p) {
print_comp_header("Ang");
"""







Compile error: : Unexpected end of file found
S2::Node, S2/Node.pm, 140
S2::NodePrintStmt, S2/NodePrintStmt.pm, 49
S2::NodeStmt, S2/NodeStmt.pm, 36
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 42
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 58
S2::Compiler, S2/Compiler.pm, 27


any help pointing me in the right way is appreciated! thank you!
Tags: status: closed
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic
  • 1 comment