pasithea: glowing girl (Default)
[personal profile] pasithea
Is it broken for everyone or did I break my journal when I modified it? it only ever shows '1 comment' when there are sometimes more than one. If I broke it, how do I unbreak it?

(no subject)

Date: 2004-04-05 09:53 pm (UTC)
ext_646: (geeky (pseudo))
From: [identity profile] shatterstripes.livejournal.com
It's your style; you must have something weird in the comment text your friends page is like this too. Amusingly enough the links still have the proper "nc=X" tags for me.

I dunno how you built your style, so... um... good luck.

(no subject)

Date: 2004-04-05 11:39 pm (UTC)
From: [identity profile] dv-girl.livejournal.com
Hmm. I grabbed their 'notebook' template and modded it. I really didn't change that much though. I'll have to test it tonight and see if this template was just broken to begin with or if I messed something up then cut and paste a fix.

(no subject)

Date: 2004-04-06 12:43 am (UTC)
ext_646: (geeky (pseudo))
From: [identity profile] shatterstripes.livejournal.com
From mine—
"""<div class="footer">""";
if ($e.comments.enabled)
{
	if ($e.comments.count > 0 or $e.comments.screened)
	{
		"""<a href="$e.comments.read_url">""" + get_plural_phrase($e.comments.count, $p.view == "friends" ? 
						  "text_read_comments_friends" : "text_read_comments") + "</a>";
	}
	""" <a href="$e.permalink_url">◉</a> <a href="$e.comments.post_url">""" + ($p.view == "friends" ? $*text_post_comment_friends : $*text_post_comment) + "</a>";
	"</div>";
}
else
{
	" </div>";
}

I'm too lazy to separate the logic from the markup. It looks like "5 comments ◉ Leave a comment".

(no subject)

Date: 2004-04-06 01:57 am (UTC)
From: [identity profile] dv-girl.livejournal.com
Woohoo! Bloodily hacked! Thanks! ^_^

(no subject)

Date: 2004-04-06 02:13 am (UTC)
From: [identity profile] dv-girl.livejournal.com
Hmm. Just noticed I have no code to delete comments. I wonder if this is a feature or a flaw... I sorta think of it as a feature.

Also, I'll have to explore the code in more detail later. The published code I modified from was in fact broken so your code put me on the path to fixing it but for now I have the text of the comment-counters hard-coded into the program. I have to figure out what they called the class for the journal in my code so I can get the variables from the right place. :)

February 2012

S M T W T F S
   1234
567891011
12 131415161718
19202122232425
26272829   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 31st, 2025 10:22 pm
Powered by Dreamwidth Studios