forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: Trianon on February 21, 2013, 10:57:27 am

Title: To clean loading date, number of files, number of viewings of an album
Post by: Trianon on February 21, 2013, 10:57:27 am
How to make, that near to an album icon weren't reflected loading date, quantity of files, quantity of viewings. But thus how to make, that the album description took place on near to an icon, and on album page under all images (as it is made with the image description).
Title: Re: To clean loading date, number of files, number of viewings of an album
Post by: Αndré on February 22, 2013, 11:48:50 am
How to make, that near to an album icon weren't reflected loading date, quantity of files, quantity of viewings.
Copy the sections $template_album_list and $template_album_list_cat to your theme's theme.php file if they don't exist. Then, find the line
Code: [Select]
<p class="album_stat">{ALB_INFOS}<br />{ALB_HITS}</p>and remove it in both sections.


how to make, that the album description took place on near to an icon
Near to which icon? It's already next to the album thumbnail. Not sure where you want to display it.


how to make, that the album description took place [..] on album page under all images
Copy function theme_display_thumbnails to your themes theme.php file if it doesn't exists. Then, find
Code: [Select]
    CPGPluginAPI::action('theme_thumbnails_wrapper_end', null);and replace with
Code: [Select]
    CPGPluginAPI::action('theme_thumbnails_wrapper_end', null);

    //if ($page == 1) {
        echo $CURRENT_ALBUM_DATA['description'];
    //}