I'm been looking for a thread on this and although I'm sure there must be one I'm not finding
it. Perhaps my terminology is wrong. I want to remove the staistics "39 files in 3 albums with 0 comments viewed 154 times"
from the header. In fact removing the header would be fine also. I'm using the igames theme and 1.4.26
Can anyone point me in the right direction.
http://www.michaelahartphotography.com/cprgallery/index.php
Note to Joachim. You moved my last thread with the admonishment to pay attention to board rules.
I was trying to pay attention. I see many admonishments about not adding on to someone elses thread
hence I thought the proper approach was to start a new one. Didn't intend to err.
Thanks for any help
Steve
That's in two files: index.php and (language).php, in your case, english.php. I think the easiest way to remove the line would be to edit the stat1 display in lang/english.php by simply deleting everything between the single quotes.
Line 1283, find 'stat1' => '<b>[pictures]</b> files in <b>[albums]</b> albums and <b>[cat]</b> categories with <b>[comments]</b> comments viewed <b>[views]</b> times', and remove everything on the line, leaving only '',
So, your line should read: 'stat1' => '',
There may be another (simpler) way to accomplish this, but I'm not familiar.
This can be done with theming.
In file themes/sample/theme.php find this function and copy it into themes/your_custom_theme/theme.php.
Copy + paste the complete, entire function. function theme_display_album_list
function theme_display_album_list(&$alb_list, $nbAlb, $cat, $page, $total_pages)
CODE CODE CODE
CODE CODE CODE
echo $spacer;
}
Then find:
starttable('100%');
Add below it this:
$statistics = '';
EDITED for clarity
Thanks for both responses. Tried 2nd one and it worked. Learning more all the time.
Steve