Remove "last one added" Remove "last one added"
 

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

Remove "last one added"

Started by enwhysee, November 18, 2007, 06:16:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

enwhysee

Yes I did a search and reviewed multiple topics but none of them worked right for me. I want to remove the date but not the file count. I tried to follow the instructions in this post but I kept getting an error. Where do I add this code in $template_album_list & $template_album_list_cat from theme.php?? Can someone explain clearer?

QuoteIf you want to remove the date only and keep the number of files, add the first line below (with its surrounding comments) in front of the next lines in the functions theme_display_album_list and theme_display_album_list_cat (with the same caveats about whether you already have those functions or not in your theme.php):



            // MOD - remove date from album info
            list($album['album_info'],$trash) = split(', ',$album['album_info'],2);
            // MOD - end
            $params = array('{COL_WIDTH}' => $column_width,
                '{ALBUM_TITLE}' => $album['album_title'],
                '{THUMB_CELL_WIDTH}' => $thumb_cell_width,
                '{ALB_LINK_TGT}' => "thumbnails.php?album={$album['aid']}",
                '{ALB_LINK_PIC}' => $album['thumb_pic'],
                '{ADMIN_MENU}' => $album['album_adm_menu'],
                '{ALB_DESC}' => $album['album_desc'],
                '{ALB_INFOS}' => $album['album_info'],
                );