Metadata problem

Feb 14, 2008 22:31

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... )

metadata, mood icon

Leave a comment

Comments 9

ankhutenshi February 15 2008, 03:39:42 UTC
Please put your code in a text box or under a cut!

Reply

jack4will February 15 2008, 03:51:35 UTC
Fixed it. Noticed it after I posted.

Reply

ankhutenshi February 15 2008, 03:53:33 UTC
Appreciated.

Reply

jack4will February 15 2008, 04:00:32 UTC
Your welcome.

Reply


(The comment has been removed)

jack4will February 15 2008, 03:41:22 UTC
I just did sorry about that. The box code didn't show up again.

Reply


lorata February 16 2008, 16:57:43 UTC
Well, in the metadata code that you linked to, the end bracket isn't there. It ends here --

print $metaopen + $tags + $location + $mood + $music + $metaclose;

-- when it should look like this --

print $metaopen + $tags + $location + $mood + $music + $metaclose;
}

-- If you'll look up at the very beginning, there's a bracket here --

function Entry::print_metadata() {

-- that hasn't been closed in the code you posted; it's the one that completes the entire section for print_metadata. You must have just missed that one when you copy-pasted the code from the original post.

Add that curly-bracket to the end of the metadata code, then you should be free to edit the order of metadata as you want them. Just make sure of a few things:

1. You have this somewhere before you add the print_metadata code: set tags_aware = true;

2. You have set the mood icon to show up on the left (in the middle of your code, find var bool moodiconaftertext = true; and change it to var bool moodiconaftertext = false;3. That you've put your ( ... )

Reply

jack4will February 17 2008, 14:20:42 UTC
I fixed those problems but now I get this ( ... )

Reply

lorata February 17 2008, 14:49:48 UTC
Aha, found it! There were actually two brackets missing, but because the compiler stops after the first error, I didn't catch it. (Also, apparently I can't read.)

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

jack4will February 17 2008, 15:20:23 UTC
Can you please send me the code you did? Because I am still getting the same error message. I even found the code I had used before with another smoothsailing layout I had about a month ago and used that. I'm still getting that same message. My personal email is LadyLegolas@comcast.net

Thank you.

Reply


Leave a comment

Up