coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: mr.bena on March 13, 2012, 01:41:22 PM

Title: Remove date below last upload thumbnails
Post by: mr.bena on March 13, 2012, 01:41:22 PM
Hi, I would like to know how to remove the upload dates which display below the thumbnails of "Last Uploads". I set the upload dates not to appear below the thumbnails through config. The upload dates do not appear below other categories except the "Last Uploads" files.

Help will be appreciated..

Benjamin. 
Title: Re: Remove date below last upload thumbnails
Post by: ΑndrĂ© on March 13, 2012, 05:16:27 PM
Open include/functions.inc.php, find
        if ($set_caption) {
            build_caption($rowset, array('ctime'));
        }

        $rowset = CPGPluginAPI::filter('thumb_caption_lastup', $rowset);

and replace with
        if ($set_caption) {
            build_caption($rowset);
        }

        $rowset = CPGPluginAPI::filter('thumb_caption_lastup', $rowset);
Title: Re: Remove date below last upload thumbnails
Post by: mr.bena on March 13, 2012, 07:05:15 PM
It works! Thank you so much for your help.