forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: rwhmur on August 08, 2011, 04:25:26 pm
-
This is written twice on each of my image pages, once at the top of the comments and once at the bottom of the comments. Is it possible to delete the one on the top?
-
I'm using the "curve" theme at http://weestyles.com/gallery
-
You're using a custom theme and I can see that line only once. Is this issue already solved? If so, please mark this thread accordingly.
Btw: Nice theme - I like it very much. Do you want to share it with the community? :)
-
It's a customized version of "curve," and I'd be happy to share once it's finished (I've gotten a lot of requests, actually). The following image has a comment and shows the line twice: http://weestyles.com/gallery/displayimage.php?album=toprated&cat=0&pid=46#top_display_media
-
Ah, sorry. I initially misread your issue. It's a feature that this line will be shown twice: once at the top of all comments, once at the bottom of all comments. It's useful if you have a lot of comments below a file.
If you want to remove it anyway, have a look at the function theme_html_comments, especially at the following lines:
$html .= ($tabs = ob_get_clean());
$html .= $tabs;
-
Thanks! I put
$html .= ($tabs = ob_get_clean());
where $html .= $tabs;
was and it worked great.