I just changed my layout tonight to one by
gawariel_design.
My problem is I am trying to move my tags to below my mood, music, location and the mood icon to the left of the mood text.
Here is my stylesheet
Stylesheet for Sweeney Todd layout Here is the code I have.
Metada code When I use that code I keep getting an error saying there is no bracket
(
Read more... )
S2 Compiler Output at Sun Feb 17 14:11:00 2008
Error compiling layer:
Compile error: line 523, column 34: Didn't find closing brace in statement block
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 51
S2::NodeFunction, S2/NodeFunction.pm, 104
S2::Layer, S2/Layer.pm, 58
S2::Compiler, S2/Compiler.pm, 27
Context
519: ## This function override allows users to change the order that the metadata elements print.
520: ## To change the labels or whether the metadata print one per line or all on one line, users
521: ## must still go through the Customization page and set properties accordingly.
522: set tags_aware = true;
523: function Entry::print_metadata() {
524:
525: ## If there is metadata (mood, music, location) or tags to print, and we're not in the guestbook, print stuff.
526: if (((size $.metadata>0) or ((size $.tags>0)and($*layout_position_entrytags=="metadata"))) and ($.itemid!=int($*layout_guestbook_entryid))) {
527:
What did I do wrong now? The closing bracket shows up in the code My stylesheet and the code are still up.
Reply
Anyway, just add another } to the end of your code, take out the ) following $metaclose; (that was a copy-paste error), and you should work. (I tested it this time by creating a theme layer myself using what you've given instead of just eyeballing it, which I should've done in the first place, sorry.)
If that doesn't work then I'm stymied, because it's working for me.
Reply
Thank you.
Reply
Leave a comment