Removing Details from Albums Removing Details from Albums
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Removing Details from Albums

Started by martinha, February 09, 2004, 02:18:21 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

martinha

First I'd like to congratulate everyone concerned for an excellent piece of software. It worked fine first time and looks great!

I'd like to make a slight alteration such that when albums are listed using the Album list button they don't show the details e.g. "18 pictures, last one added on Feb 07, 2004", just the descritpion I've given them. Is there an easy way of doing this?

Cheers

Martin

jmc

Hi, Martin!
Yep - it's pretty easy to do...
Open the lang/english.php file and search for the "stat1", "2" and "3" links (around line 630). "Comment out" the one you want rid of ("stat1" in your case, I think) by adding // to the beginning of the line, save the file and you're done!
John Mc
I'm trying hard... at least!

Nibbler

Similar to here but use:


$alb_list[$alb_idx]['album_info'] = ' ';

Casper

Open themes/yourtheme/theme.php.

Find and delete (this is in the code twice, remove both)
 <p class="album_stat">{ALB_INFOS}</p>

Edit, I took so long checking, I missed the other 2 answers, but you have 3 different ways of achieving the same thing  :wink:
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

martinha

Thanks guys , it seems be work fine now!

Krapmeister

I'm tearing my hair out with this one.. I've tried all of these three methods and I still can't get rid of the album stats!!  Can anyone help me out with a definite solution.

Cheers

K

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Krapmeister

Thanks for a speedy response, with further persistance and a bit of luck I solved my own problem.

Cheers Anyway.

It's a great script for my purposes:

http://www.thebeautifulfew.net

K