[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

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.

yes. it's hard. but you have to learn. sometimes i'll be in a mood to do it all for you. sometimes i won't. this time is a won't. there are resources out there that will teach you how to use the language. such as this at component_help. give it a spin. once you grasp the concept of layers, this will get easier to understand.

my main annoyance is the lack of official documentation for the novice users who want to use the advanced customizations.

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


Leave a comment

Up