Advanced search  

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]

Pages: [1]   Go Down

Author Topic: To clean loading date, number of files, number of viewings of an album  (Read 2008 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: 15759
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.018 seconds with 21 queries.