[theme] - [boxer] - [mood icon to left of metadata]

Oct 09, 2005 00:09

in response to stupid_thing's boxer_help post.
grab this, then the replace Entry::print_metadata() with the following...
cut )

function print_metadata, class entry, layout boxer

Leave a comment

Comments 16

lovelymolecules October 9 2005, 19:28:16 UTC
I used this on one of my old Opal layouts, and I'd love to use it on one of my new Boxer ones, but I can't figure out where the Entry::print_metadata() is or what to do with all the coding. :/

Reply

kunzite1 October 9 2005, 19:35:29 UTC
then you fail at advanced customizations in s2?

i provided a link to another entry i made just minutes before this one that has function overrides for functions that deal with printing of entries.

the boxer layout has many things inside print_entry() that could be pulled out. like the metadata, comment links, and linkbar.

so. compare your version of print_entry() with the one in the previous entry. and then make sure you've got $e->print_metadata(); in it. then it'll call Entry::print_metadata(). if you have the code in this entry for your definition of Entry::print_metadata() you should get something similar to your desired effect.

those users who just copy and paste and don't read bug me. s2 is a programming language. you should at least have a small sense of how it works before you go asking questions when the code is right there for you ( ... )

Reply

lovelymolecules October 9 2005, 20:23:38 UTC
I'm sorry to have annoyed you, but thank you for your help. Like you said, it is very hard to learn S2, and requires a lot of time, which I haven't had a whole lot of lately.

The only thing that really had me confused was the connection between the two pieces of code, but I think you explained that in your comment.

Again, I'm sorry that I annoyed you, I completely understand where you're coming from. But hey, we all have to start learning somehow, right?

Reply

kunzite1 October 9 2005, 20:29:04 UTC
it's ok. s2 takes time to get the hang of. i just have the mind for it.

several people who were utterly confused when they started eventually got the hang of it.

unfortunately, there are others who are still completely lost.

if i answered your question, awesome.
if not, ask again and i'll see if i can explain it better.

Reply


kiptrip November 17 2005, 09:18:38 UTC
Hiya,

Thanks a ton for the code. It works great except I don't want the tags to show below Mood and Music (I already have them showing at the top of my posts). How do I edit this code to get rid of the tags?

Hope you can help, thanks so much.

Reply

kunzite1 November 17 2005, 09:20:49 UTC
remove the section that talks about tags?

Reply

kiptrip November 17 2005, 09:25:55 UTC
Duh! Got it, thanks! :)

Reply

kunzite1 November 17 2005, 09:27:21 UTC
yep.

Reply


sourfall March 22 2006, 04:14:01 UTC
Thanks for this; very swank-looking! :D

Reply


imagineforever May 10 2006, 12:36:39 UTC
These codes are awesome, they worked like a charm. But I'd like to change the font size and move all the meta down a row or two away from my entry. Could you help me with this?

Reply

kunzite1 May 11 2006, 08:01:16 UTC

.metadata {
font-size: 7pt;
padding-top: 10px;
}

Reply

imagineforever May 11 2006, 11:52:48 UTC
Works perfect, and you are awesome. Thanks so much! :D

Reply


giina June 10 2006, 16:49:00 UTC
Thanks so much for the code. However, the comment bar seems to be messed up.


... )

Reply

kunzite1 June 10 2006, 18:21:09 UTC
that's the linkbar. it's controlled by Entry::print_linkbar() and not Entry::print_metadata().

Reply


Leave a comment

Up