albums info albums info
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

albums info

Started by Alejandrito, December 18, 2004, 09:03:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Alejandrito

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

Nibbler

Yes, please search the board.

Alejandrito

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

Tranz


Alejandrito

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 :-\

Tranz

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.

Alejandrito

Anyway, I found the way throught. You have to modify $lang_list_albums for 1.3 :)
The one here, as the forum for that topic says, works only for 1.2

So, thanks anyway ;)

zoinks

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