Heathyr (tenmylove) wrote in component_help,
Heathyr
tenmylove
component_help

I'm helping someone I know with their layout and I copied my first function page_layout(Page p) { layer into their layers and I got an error. I don't know what's different about it... can someone help. These are the error codes that came up:

Compile error: line 46, column 1: Only core and layout layers can define new functions.
S2::NodeFunction, S2/NodeFunction.pm, 191
S2::Checker, S2/Checker.pm, 339
S2::Compiler, S2/Compiler.pm, 34
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 4 comments