Hello together!
I'm new here and at the moment I'm setting up my new photoblog. Well, all went quite well so far, but now I have a problem:
I want my site to show the number of comments
INSIDE the comments link. Finally it should look like:
HTML Code:
<a href="#">x Comments</a>
To get that, I tried to include the tag <comments_number> in <comments_popup>, but that didn't worked.
So I tried to modify the function of the tag; I found it only in the file index.php.
I immagined something like replacing
PHP Code:
$tpl = ereg_replace("<COMMENT_POPUP>","<a href='index.php?showimage=$image_id' onclick=\"alert('$lang_comment_popup_disabled');\">$lang_comment_popupr</a>",$tpl);
with
PHP Code:
$tpl = ereg_replace("<COMMENT_POPUP>","<a href='index.php?showimage=$image_id' onclick=\"alert('$lang_comment_popup_disabled');\">$lang_comment_popup, $image_comments_number</a>",$tpl);
But all my trials didn't work - the index.php file seemed not to react.
Can anyone give me a hint? Would be great!
Thanks in advance,
Tino