... (cookiegirlie) wrote in component_help,

  • Mood:

Two Random Quotes In One Theme Layer

I wanted to add a second random quote code thingy to my Theme Layer, but it's not going well.
Thank yous to xtomxfallsx and uniquewonders. Cookie having a stupid day.
I keep getting the following message from the Compiler:

Error compiling layer:

Compile error: Can't mask local variable 'header':
   S2::NodeVarDecl, S2/NodeVarDecl.pm, 41
   S2::NodeVarDeclStmt, S2/NodeVarDeclStmt.pm, 42
   S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 101
   S2::NodeFunction, S2/NodeFunction.pm, 230
   S2::Checker, S2/Checker.pm, 339
   S2::Compiler, S2/Compiler.pm, 34

Not totally sure what that means. I've a sick feeling that I'm missing something really basic here.

Is is possible to use the random quote code twice in one layout? Or am I just wasting my time? And before you think I'm totally crazy, I want to use one for images and one for actual quotes.


  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened