[personal profile] darlas_mom posting in [community profile] style_system
New person here, trying to edit a theme layer. Anybody have any clue what to do about this?

Compile error: line 14, column 5: Can't declare usage of non-existent property
S2::NodeProperty, S2/NodeProperty.pm, 90
S2::NodePropGroup, S2/NodePropGroup.pm, 77
S2::Checker, S2/Checker.pm, 374
S2::Compiler, S2/Compiler.pm, 34

Full disclosure: I don't know how to fix this or if it even can be fixed, I'm very new at this and mostly just following a tutorial on how to create theme layers.

Date: 2011-01-05 12:56 am (UTC)
suncat: Basic Suncat Studio avatar (Default)
From: [personal profile] suncat
What seems to be on line 14 of your layer code? Maybe show lines 13 through 15?

Date: 2011-01-05 03:28 am (UTC)
foxfirefey: A guy looking ridiculous by doing a fashionable posing with a mouse, slinging the cord over his shoulders. (geek)
From: [personal profile] foxfirefey
That's a good hint--where is the tutorial you're working from?

I think it might work if you change that line 14 from:

property use view_entry_disabled;

to:

property use use_journalstyle_entry_page;

Date: 2011-01-05 04:00 am (UTC)
foxfirefey: A fox colored like flame over an ornately framed globe (Default)
From: [personal profile] foxfirefey
Ah, that's your problem. I bet you're trying to use a core1 style with core2 base. I KNOW THAT SOUNDS HORRIBLY COMPLICATED DO NOT WORRY.

Go here:

http://www.dreamwidth.org/customize/advanced/layers

*Create top-level layer

* Layout, using core version 1 and then click create

The rest is pretty much the same I think.

Date: 2011-01-05 07:04 am (UTC)
foxfirefey: A wee rat holds a paw to its mouth. Oh, the shock! (myword)
From: [personal profile] foxfirefey
With the changes I suggested or without? You should use the plain version you originally had with those instructions, sorry if I was unclear!

Date: 2011-01-05 02:57 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
This style is really meant to be used as a Core2 style. As explained, you need to create a Core2 layout layer then copy/paste the code from the first box into your layer. It gave me no errors. However, the coding is outdated and you'll need to remove these to be able to see the style correctly:

"""<style type="text/css">""";
start_css();
"""
<!--


--->
""";
end_css();
"</style>\n";

and replace them with """ and """; respectively.

Date: 2011-01-05 03:32 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
The code you have comes from the first box on http://roddy.dreamwidth.org/1076.html?#cutid1, right?

Date: 2011-01-05 03:39 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
Oh my bad then. This one does give me lots of errors, even as a Core1 style. It seems it's not compatible with the Core1 version we have on DW.

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 14th, 2025 12:57 pm
Powered by Dreamwidth Studios