?

Log in

No account? Create an account

Previous Entry | Next Entry

I'm planning my lj reboot for the year and I really wanted to design it on expressive, from the ground up.

There's only one thing - would anyone know what code would be needed in the theme layer to have each entry printed like this:

Poster username
Entry Title Goes Next
Date


I've disabled the user icons for the entry and friends page if that makes any difference.

Would very much appreciate any help!

Comments

av8rmike
Feb. 6th, 2008 07:29 pm (UTC)
Part 2
Copy & paste the EntryPage::print_comment() function from the layout layer. Find the section that starts with this line:
<div class="comment-links">""";

Change this line:
"""<a class="permalink" href="$e.permalink_url">$*text_permalink</a>""";
to:
"""<a class="permalink" href="$e.permalink_url"><img src="http://permalinkURL" alt="$*text_permalink" title="$*text_permalink" /></a>""";

Change these lines:
if ($e.parent_url) { print """ $sep <a href="$e.parent_url">$*text_comment_parent</a>"""; }
if ($e.thread_url) { print """ $sep <a href="$e.thread_url">$*text_comment_thread</a>"""; }

to:
if ($e.parent_url) { print """ $sep <a href="$e.parent_url"><img src="http://parentURL" alt="$*text_comment_parent" title="$*text_comment_parent" /></a>"""; }
if ($e.thread_url) { print """ $sep <a href="$e.thread_url"><img src="http://threadURL" alt="$*text_comment_thread" title="$*text_comment_thread" /></a>"""; }

See what I'm doing? Basically, just inserting <img> tags in between the <a> tags and using the existing text properties as the alt and title text. Also, I fixed the spacing so the long lines don't wrap.

Edited at 2008-02-06 07:32 pm (UTC)

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Page Summary

Powered by LiveJournal.com
Designed by chasethestars