Date: 2012-11-17 12:58 am (UTC)
marahmarie: (M In M Forever) (Default)
From: [personal profile] marahmarie
Having the same problem but I don't seem to have the same theme layer code to alter, even though I'm working from the same one as the poster above. All I have is this:
function EntryPage::print_comment_partial( Comment c )
{
    var string subject = $c.subject ? $c.subject : $*text_nosubject;
    var string date = $c->time_display("long", "");
    var string poster = isnull $c.poster ? $*text_poster_anonymous : $c.poster->as_string();

    print safe """<a href="$c.permalink_url">$subject</a> - $poster on $date""";
    var Link expand_link = $c->get_link("expand_comments");
    if ($c.thread_url != "" and defined $expand_link) {
        " " + $c->expand_link();
    }
}


And this:

###$comment->print_reply_link({"linktext" => $*text_comment_reply}); 

        if($comment.screened == true) {
            ### if comment screened - show link for unscreen
            var Link link;
            $link = $comment->get_link("unscreen_to_reply");
            """<a href="$link.url" title="$link.caption">$link.caption</a>""";
        } else {
            ### showing reply link if comment not screened
            $comment->print_reply_link({ "linktext" => $*text_comment_reply });
        }

        
        ") ";
    }

    if ($comment.parent_url != "")
    {
        "(<a href='$comment.parent_url'>$*text_comment_parent</a>) ";
    }

    if ($comment.thread_url != "")
    {
        """(<a href="$comment.thread_url">$*text_comment_thread</a>) """;
        var Link expand_link = $comment->get_link("expand_comments");
        if (defined $expand_link) {
            "(" + $comment->expand_link() + ") ";
        }
    }



So what exactly would I need to alter (and with what code specifically) to make this work? Thanks in advance. :)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

Dreamwidth style system discussion

July 2025

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 9th, 2025 03:29 pm
Powered by Dreamwidth Studios