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

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

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'],
                );