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.
Comments 2
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
Reply
Leave a comment