Thomas Jackson (tjackson) wrote in component_help,
Thomas Jackson
tjackson
component_help

  • Mood:

Well, I tried to be elite and modify someone else's code to my own desires, and now look! arg!

I can't figure how why this is displaying everything ok, except for the bottom row of the comments|entry link|buttons, and on that row it screws up the rest of my LJ, anyone got any insights? I'm not sure it would have anything to do with my components-on-both-sides function, because that's running ok, when I don't modify this. However I would like to get tihs working... so if you don't mind, can someone check out my code? If you want I can put the whole damn broken layer up...
---
EDIT: Screw it, when I did finally get the layer almost displaying accurately, I didn't like it. So now, i'm gonna try something else, and if I get stuck, I'll post it instead. But thanks for all the insights. I'll keep this here, just in case someone has some questions that might almost relate to this.


##################
# ENTRY OVERRIDE #############################3
##################
### Override the printing of entries. This affects the Recent/Day pages, Friends pages, and Entry pages.
function print_entry(Page p, Entry e, Color bgcolor, Color fgcolor, bool hide_text) {

# Print the anchor to be used in the page summary.
if ($p.view=="friends") {
"""<a name="$e.journal.username$e.itemid"></a>""";
} else { # for recent, day, entry pages.
"""<a name="item$e.itemid">
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 14 comments