Advanced search  

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

Pages: [1]   Go Down

Author Topic: To clean loading date, number of files, number of viewings of an album  (Read 3102 times)

0 Members and 1 Guest are viewing this topic.

Trianon

  • Coppermine newbie
  • Offline Offline
  • Posts: 18

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).
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: To clean loading date, number of files, number of viewings of an album
« Reply #1 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'];
    //}
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.