Friends Page Summary

Aug 12, 2005 17:32

I've looked over the source code, but I'm afraid I'm just a beginner in programming and it's all quite confusing to me ( Read more... )

Leave a comment

Comments 2

masterslacker August 12 2005, 21:55:02 UTC
Hi There. I've taken the format you wanted and modified the necessary function. Paste this at the end of your custom theme layer and it should do what you want:
function Entry::lay_print_summaryline(Page p) {
"""
""";
print ($*text_sidebox_summary_bullet_bold?"$*text_sidebox_summary_bullet":$*text_sidebox_summary_bullet);
if ($p.view=="friends") {
"""$.journal - """;
} elseif ($p.view=="day") {
print $.time->time_format(); """ - """;
}
if (defined $.security_icon) { """$.security_icon """; }
""" """;
if ($.subject!="") { print $this->plain_subject(); } else { """$*text_nosubject"""; }
"""
""";
if ($p.view!="friends" and ($.comments.count>0 or $.comments.screened)) { """ [+$.comments.count]"""; }
"""""";
}Mike.

Reply

arewar August 12 2005, 22:06:46 UTC
Yay, thank you very much!

Reply


Leave a comment

Up