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: Albentitel unter "Neueste Bilder"  (Read 2911 times)

0 Members and 1 Guest are viewing this topic.

UserTier

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Albentitel unter "Neueste Bilder"
« on: July 03, 2013, 05:50:28 pm »

Ich hätte gerne den Albennamen unter den Bildern der "Neuesten Bilder" bzw. "Neueste Uploads"  auf der Galerie-Seite (Startseite)

Geht das?

Vielen Dank Michael

http://tierschutzverein-arh.de/

(hab die neuesten Bilder momentan deaktiviert, da sie mir so nichts bringen)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • ****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Albentitel unter "Neueste Bilder"
« Reply #1 on: August 19, 2013, 04:03:13 pm »

Öffne
Code: [Select]
include/functions.inc.php, finde
Code: [Select]
        $query = "SELECT $select_columns
                FROM {$CONFIG['TABLE_PICTURES']} AS r
                INNER JOIN {$CONFIG['TABLE_ALBUMS']} AS a ON a.aid = r.aid
                $RESTRICTEDWHERE
                AND approved = 'YES'
                ORDER BY ctime $DESC, pid $DESC
                $limit";
(im Abschnitt case 'lastup':) und ersetze es durch
Code: [Select]
        $query = "SELECT $select_columns, a.title
                FROM {$CONFIG['TABLE_PICTURES']} AS r
                INNER JOIN {$CONFIG['TABLE_ALBUMS']} AS a ON a.aid = r.aid
                $RESTRICTEDWHERE
                AND approved = 'YES'
                ORDER BY ctime $DESC, pid $DESC
                $limit";
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.