HOWTO: Change metadata order

Jan 16, 2007 10:13

UPDATE (3/03/08): I have updated this function as well as the other version of print_metadata() to add custom friends groups into the metadata.
I kept promising in my last HOWTO entry that I would re-work the metadata printing function for Expressive, so here it is, finally. Also as before, the code is based on kunzite1's Bloggish code here, which I've ( Read more... )

how to:instructions, s2:theme layer, entries:metadata, !tutorial, advanced, $acct level:paid or perm

Leave a comment

Comments 22

twissie January 17 2007, 21:00:02 UTC
Ah, thanks a lot. This is much appreciated :D

Reply

av8rmike January 17 2007, 22:55:46 UTC
And here I didn't think anyone was paying attention. Thanks! ;)

Reply


zielonaherbata January 22 2007, 11:10:03 UTC
Thank you :)

Reply


sparkythegeek October 27 2008, 14:59:52 UTC
I have what is probably a really dumb question. I installed all of this (yay), but the custom theme/layout ends up being the default Expressive with the blue flowers. How do I then apply this to Scraps Blue, for instance?

I've got myself all confused now. Thanks! :p

Reply

av8rmike October 28 2008, 13:23:04 UTC
You have to follow the tutorial for creating a theme layer, which explains how to set different themes.

Reply

sparkythegeek October 28 2008, 13:30:33 UTC
A-ha... this CSS stuff just boggles my brain :) Thanks so much!

Reply

av8rmike October 28 2008, 13:34:35 UTC
It's one of the peculiarities with creating a layer in S2 under Expressive, which has nothing to do with CSS specifically. Most other layouts don't have that problem.

Reply


owca May 19 2009, 02:05:46 UTC
Is there a way to add a border to the mood icon using this code?

Reply

av8rmike May 19 2009, 14:05:05 UTC
You can just use CSS, you wouldn't need this theme layer code.

.entryMetadata-content img { border: 1px dashed #xxxxxx;}
should do it.

Reply

owca May 19 2009, 15:32:31 UTC
Nope, unfortunately what it does add the border to, is the little image that replaces the "current mood" text, not the mood icon itself. That was the first thing that came to my mind as well, but as I said - it doesn't work the way I thought it would :/.

Reply

av8rmike May 19 2009, 16:56:19 UTC
OK, but it looks like you're not using this code in your style..?

Reply


sparkythegeek May 31 2009, 18:27:59 UTC
I'm hoping you might be able to help me since the layout I'm now using uses both this theme layer business for the metadata AND a custom CSS layout. The layout designer doesn't know how to do the theme layer stuff to ask there.

Okay, if you view my LJ in Firefox, everything looks fine. In IE, however, the metadata area is showing up with little red boxes for all the metadata titles.

I'm beyond clueless as to what is making that happen in IE-only let alone how to fix that. The layout designer's thought had been that the theme would need ".currents" but it looks like this theme layer has that (if I am reading what I do not understand correctly, lol).

Any thoughts? Thanks a bunch!

Reply

av8rmike June 2 2009, 20:47:27 UTC
I took a look at the theme layer on your journal. In the code, where it says "http://URL OF MOOD MINI-ICON", you actually have to change that to a URL to an icon. IE just isn't showing the alternate text like Firefox is. If you're not going to use an icon, remove that text, like it says in the first paragraph of the post.

Reply

sparkythegeek June 3 2009, 00:16:56 UTC
Oh ok! Thanks a bunch - I'll go fix that then!

Reply


Leave a comment

Up