coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Alejandrito on December 18, 2004, 09:03:08 PM

Title: albums info
Post by: Alejandrito on December 18, 2004, 09:03:08 PM
In each album I get some info about it (in the main page) like:
257 files, last one added on Oct 04, 2004

Is there a way to get rid of that info?  ???
thanks in advance
Title: Re: albums info
Post by: Nibbler on December 19, 2004, 12:13:02 AM
Yes, please search the board.
Title: Re: albums info
Post by: Alejandrito on December 19, 2004, 04:01:25 AM
man, I have been searching the board all this time since I got your answer, but I haven't found the solution yet.
please help me out here!!
thanks in advance
Title: Re: albums info
Post by: Tranz on December 19, 2004, 04:12:26 AM
http://forum.coppermine-gallery.net/index.php?topic=3561.0

Got that from searching for remove album info.
Title: Re: albums info
Post by: Alejandrito on December 19, 2004, 05:26:22 AM
I swear I did that search and din't find the result!! :(
Anyway, I deleted everything about the info and have only this in all the lang files:

$lang_list_categories = array(
  'home' => 'Home',
  'stat1' => 'test', //cpg1.3.0
  'stat2' => 'test',
  'xx_s_gallery' => '%s\'s Gallery',
  'stat3' => 'testing',


But I still get the info, it doesn't matter which language I choose, I get the info anyway!! ???
that's weird, don't know what to do now :-\
Title: Re: albums info
Post by: Tranz on December 19, 2004, 05:29:50 AM
Did you make sure that you were searching through the entire forums? If you use the search box above while in the 1.3 support forums, you will only get results from this section. To get results for all sections, do an Advanced search or go to the forums home page to do the search.
Title: Re: albums info
Post by: Alejandrito on December 19, 2004, 06:12:30 AM
Anyway, I found the way throught. You have to modify $lang_list_albums for 1.3 :)
The one here (http://forum.coppermine-gallery.net/index.php?topic=3561.0), as the forum for that topic says, works only for 1.2

So, thanks anyway ;)
Title: Re: albums info
Post by: zoinks on June 09, 2005, 07:06:08 PM
I just ran into a similar customization snag: Wanted to remove "last one added" but keep number of files. Therefore flat-out removing "{ALB_INFOS}" in my template.php wasn't the solution. Based on other posts on this topic, I dug a bit and found the answer...

In "/yourcopperminefolder/lang/english.php" (or whatever language you're using) look for "$lang_list_albums = array". That's where you can comment out the "last added" wording, ie. change.... 'last_added' => ', last one added on %s', to 'last_added' => '',

Also, since I'm using this just for photos, I changed.... 'n_pictures' => '%s files', to 'n_pictures' => '%s photos',

Hope this helps anyone else looking to do the same!  ;D