Oh snarky one! (dangerusliasons) wrote in component_help,
Oh snarky one!
dangerusliasons
component_help

  • Mood:

Please help.

Hi, I'm new, and I'm having a little bit of trouble with a layout a friend of mine did, taken from coding made in several of your posts. I was wondering if you could help.


Here's where I'm having the problem:

Compile error: line 33, column 1: Unknown token encountered while parsing layer: [TokenIdent] = pages
S2::Layer, S2/Layer.pm, 67
S2::Compiler, S2/Compiler.pm, 27

Context

29: }
30: #=============================================================================================================
31:
32: ### Override the printing of entries. This affects the Recent/Day
33: pages, Friends pages, and Entry pages.
34: function print_entry(Page p, Entry e, Color bgcolor, Color fgcolor,
35: bool hide_text) {
36:
37: # Print the anchor to be used in the page summary


and here's the rest of the coding:

######################################
#this is for the pic at the top of your lj
function Page::print_custom_head() {
"""

""";

"""

""";
}
#=============================================================================================================

### Override the printing of entries. This affects the Recent/Day
pages, Friends pages, and Entry pages.
function print_entry(Page p, Entry e, Color bgcolor, Color fgcolor,
bool hide_text) {

# Print the anchor to be used in the page summary.
if ($p.view=="friends") {
"""""";
} else { # for recent, day, entry pages.
"""""";
}

# Print the header for the entry. It prints in the default form
"[ ]
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 0 comments