forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: jedi on November 03, 2004, 07:15:53 am
-
Hello again,
I sincerely apologize if this has been posted before. I did a search, and I couldn't, for the life of me, find something that exactly matched my problem.
I need to remove the statistics on the album thumbnail page. Not the main page, I've already done that thanks to a successful search of the archives. I'm talking about "thumbnails.php", where the pictures in the individual albums are shown.
Once I get this done, I'll finally be able to launch the site, and it will be in very large part due to the experts here at the coppermine's technical support team!
Thank you!
-
coppermine config, set "Display number of views below the thumbnail" to "no".
Joachim
-
That's not quite what I was looking for..
I'm looking to remove the statistics regarding number of images on number of pages at the bottom of the page.
I tried looking for something similar to the fix for removing the main page's statistics, but I couldn't find anything.
-
edit themes/yourtheme/theme.php, find
$theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => $lang_thumb_view['pic_on_page']));
and replace with$theme_thumb_tab_tmpl['left_text'] = strtr($theme_thumb_tab_tmpl['left_text'], array('{LEFT_TEXT}' => ''));
Joachim
-
I did that, and it returned this error:
Parse error: parse error in /usr/home/angeles/htdocs/ussangeles.org/Awaymissions/themes/lcars/theme.php on line 1258
Template error
Failed to find block 'c_album_cell'(#(<!-- BEGIN c_album_cell -->)(.*?)(<!-- END c_album_cell -->)#s) in :
What happened?
-
oops, sorry - wrong place to edit. Undo above modifications, instead: find
$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b>{LEFT_TEXT}</b></td>' . "\n",
and replace$template_tab_display = array('left_text' => '<td width="100%%" align="left" valign="middle" class="tableh1_compact" style="white-space: nowrap"><b><!--{LEFT_TEXT}--></b></td>' . "\n",
Joachim
-
Nope, it didn't quite remove what I'm looking to make disappear...
Here's the part on thumbnails.php I'm talking about...
-
The easy way is to open your language file, i.e., english.php, and find;
'pic_on_page' => '%d files on %d page(s)',
Change it to;
'pic_on_page' => '',