?

Log in

No account? Create an account

Previous Entry | Next Entry

Scribe Layout Alterations-SOS--SOLVED

  • Dec. 3rd, 2007 at 6:15 AM
I have a few items I want to change on the new layout I chose. And naturally, since I'm so not adept at this, I came back here for some help. I listed what I wanted to change, and pasted the code bits that I had gathered from this collections of tidbits. Of course it didn't work when I hit 'send and compile'.
Could one of you wonderful and knowledgeable people look at the code behind the cut, and tell me what's wrong? The sort of help I need is that someone fixes it so that all I have to do it paste the entire thing in the layer thingie. I don't have the proper skills to surmise and put it together myself and reading the tutorials has not helped.
I don't know if I'm still supposed to go to the S2 create a layer thing, or what the problem is. Thank you in advance for your patience and know-how.

These are the things I want changed (in case it’s not evident or it’s incorrect in the code mess to follow):

1.)    Add sitemeter code
2.)    Change body (content I would add by making an entry) font to PMingLiU, 12 pt
3.)    Add separator bar (margin bottom: 15px, border bottom: 1px #999)
4.)    Add border up and down the content box, to separate it crisply from the brown textured background. Black, about 2 px.
5.)    “Previous 30” link at very top of entries right under the header-deleted.

I have inserted text changes and color codes that I want, so those should remain as is.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Code below:
layerinfo "type" = "theme";
layerinfo "name" = "scribe";
layerinfo source_viewable = 1;

set page_day_sortorder = "reverse";
set text_read_comments_friends = "1 Hath Spoke // # Hath Spaketh";
set text_tell_friend = "Spread the Word";
set seventh_item = "customtext";
set first_item = "none";
set fourth_item = "none";
set text_mem_add = "";
set text_view_archive = "Filing Cabinet";
set text_meta_mood = "Grey Matter Status";
set text_post_comment = "Speak Up";
set second_item = "none";
set text_edit_tags = "";
set text_view_memories = "Nebulous Images";
set fifth_item = "none";
set text_multiform_opt_delete = "Eradicate";
set text_view_friends = "Comrades";
set text_edit_entry = "Correct BooBoos";
set text_meta_music = "Elixir du'Moment";
set text_entry_next = "Next Blather";
set text_view_recent = "Latest Blather ";
set text_multiform_opt_edit = "Correct BooBoos";
set layout_type = "2CR";
set text_read_comments = "1 Hath Spoke // # Hath Spaketh";
set page_year_sortorder = "reverse";
set text_meta_location = "";
set text_entry_prev = "Previous Blather";
set page_recent_items = 30;
set text_post_comment_friends = "Speak Up";
set text_view_userinfo = "Not Much About Moi";



function print_module_syndicate(string title) {
    var Page p = get_page();
    if ((size $p.data_links_order) < 1) { return; }
    open_module("syndicate", $title, "");

    foreach var string k ($p.data_links_order) {
        print " $p.data_link{$k} ";
    }

   “””<!-- Site Meter -->

<a href="http://s26.sitemeter.com/stats.asp?site=s26rloonatic" target="_top">

<img src="http://s26.sitemeter.com/meter.asp?site=s26rloonatic" alt="Site Meter" border="0"/></a>

<!-- Copyright (c)2006 Site Meter -->”””;

    close_module();

}



.asset-content {
font-size: 12px PMingLiU;
}


#container-inner {
    border-left: 2px solid #000;
    border-right: 2px solid #000;
}



/* Colour of links in the sidebar */

.widget-content a:link,
.widget-content a:visited {
color : #443c68;
}
.widget-content a:hover {
color : #9292C9;
}

/* Colour of links at the end of entry */

.asset-meta-list a:link,
.asset-meta-list a:visited {
color : #004000;
}
.asset-meta-list a:hover {
color : #11ff11;
}

/* Colour of links within body of entry */
.asset-body a:link,
.asset-body a:visited {
color : #530053;
}
.asset-body a:hover {
color : #ff86c2;
}

/* Separator Bar */

.asset-footer {
margin-bottom : 15px;
border-bottom : 1px solid #999;
}


Comments

raginglunatic
Dec. 4th, 2007 06:38 pm (UTC)
Ok...did I put the set custom_css = """ in the right places?

layerinfo "type" = "theme";
layerinfo "name" = "scribe";
layerinfo source_viewable = 1;

set custom_css = """
set page_day_sortorder = "reverse";
set text_read_comments_friends = "1 Hath Spoke // # Hath Spaketh";
set text_tell_friend = "Spread the Word";
set seventh_item = "customtext";
set first_item = "none";
set fourth_item = "none";
set text_mem_add = "";
set text_view_archive = "Filing Cabinet";
set text_meta_mood = "Grey Matter Status";
set text_post_comment = "Speak Up";
set second_item = "none";
set text_edit_tags = "";
set text_view_memories = "Nebulous Images";
set fifth_item = "none";
set text_multiform_opt_delete = "Eradicate";
set text_view_friends = "Comrades";
set text_edit_entry = "Correct BooBoos";
set text_meta_music = "Elixir du'Moment";
set text_entry_next = "Next Blather";
set text_view_recent = "Latest Blather ";
set text_multiform_opt_edit = "Correct BooBoos";
set layout_type = "2CR";
set text_read_comments = "1 Hath Spoke // # Hath Spaketh";
set page_year_sortorder = "reverse";
set text_meta_location = "";
set text_entry_prev = "Previous Blather";
set page_recent_items = 30;
set text_post_comment_friends = "Speak Up";
set text_view_userinfo = "Not Much About Moi";



function print_module_syndicate(string title) {
var Page p = get_page();
if ((size $p.data_links_order) < 1) { return; }
open_module("syndicate", $title, "");

foreach var string k ($p.data_links_order) {
print " $p.data_link{$k} ";
}





Site Meter




close_module();

}

.asset-content {
font-size: 12px PMingLiU;
}

#container-inner {
border-left: 2px solid #000;
border-right: 2px solid #000;
}

.widget-content a:link,
.widget-content a:visited {
color : #443c68;
}


.widget-content a:hover {
color : #9292C9;
}

.asset-meta-list a:link,
.asset-meta-list a:visited {
color : #004000;
}

.asset-meta-list a:hover {
color : #11ff11;
}


.asset-body a:link,
.asset-body a:visited {
color : #530053;
}


.asset-body a:hover {
color : #ff86c2;
}

.asset-footer {
margin-bottom : 15px;
border-bottom : 1px solid #999;
}""";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

And the subsequent parsing error message:

S2 Compiler Output at Tue Dec 4 18:32:35 2007
Error compiling layer:

Compile error: line 40, column 36: Can't reference a variable outside of a function.
S2::NodeTerm, S2/NodeTerm.pm, 159
S2::NodeTerm, S2/NodeTerm.pm, 66
S2::NodeSum, S2/NodeSum.pm, 65
S2::NodeSum, S2/NodeSum.pm, 64
S2::NodeSum, S2/NodeSum.pm, 64
S2::NodeSum, S2/NodeSum.pm, 64
S2::NodeSum, S2/NodeSum.pm, 64
S2::NodeSum, S2/NodeSum.pm, 64
S2::NodeSum, S2/NodeSum.pm, 64
S2::NodeSum, S2/NodeSum.pm, 64
S2::NodeTerm, S2/NodeTerm.pm, 76
S2::NodeTerm, S2/NodeTerm.pm, 66
S2::NodeExpr, S2/NodeExpr.pm, 46
S2::NodeSet, S2/NodeSet.pm, 66
S2::Checker, S2/Checker.pm, 353
S2::Compiler, S2/Compiler.pm, 34


Context

36:
37:
38: function print_module_syndicate(string title) {
39: var Page p = get_page();
40: if ((size $p.data_links_order) < 1) { return; }
41: open_module("syndicate", $title, "");
42:
43: foreach var string k ($p.data_links_order) {
44: print " $p.data_link{$k} ";


Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars