Meme.. meme.. meme.. meme..

Apr 08, 2006 22:32


Got tagged by reafre:

But before I do this meme, must tell you that I believe in 'no regret' policy (© Brian Kinney :p) So I don't really believe these are serius serious guilt. haha..

On to the 'guilt' meme... )

meme

Leave a comment

amberleewriter April 9 2006, 20:14:49 UTC
Myrrh, I've been looking at the code for bail_lovers trying to figure out why it's not giving a "post" option for comments. I pulled up the theme and was looking at the detail and I am wondering if there's supposed to be some code that it's missing. The thing for memories has =

var Link mem;
$mem = $e->get_link("mem_add");
if(defined $mem) {
"""



but the stuff prior to that (where the comment link goes) only has=

if (not $hide_text) { print "
$e.text"; print "
$metadata
"; }

"""
""";

$e.comments->print();

Thoughts? Is this the source of our problem? I don't have this kind of a theme or style so I can't see what someone else would have in this area and the view source for your site isn't helping much since it's returning the html result for the css type info in the theme.

Can you have a look?

Thanks!

Reply

darthmyrrh April 10 2006, 18:21:03 UTC
Fixed!

I don't know why a chuck of code is missing from your style layer. Here's what I added.

#############################################
#
# Comment Links
#
#############################################

function CommentInfo::print_readlink {
var Page p = get_page();
var string count;
if($.count > 0) {
$count = "" + $.count;
} else {
$count = "";
}

if($.count > 0) {
""" $count
""";
}

}

function CommentInfo::print_postlink() {
var Page p = get_page();
"""
""";
}

function CommentInfo::print()
{
if (not $.enabled) { return; }
$this->print_postlink();
$this->print_readlink();

}

Reply


Leave a comment

Up