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: Albentitel unter "Neueste Bilder"  (Read 2847 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.021 seconds with 20 queries.