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: Displaying of user1 field in thumbnails and also single picture page  (Read 2574 times)

0 Members and 1 Guest are viewing this topic.

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 119
    • World of Lighthouses

AFAIK there was some topik on 1.4.x board, but i'm not sure it's valid for 1.5.x. Could you please provide step-by-step instruction of:
1. how to get user1 field on the thumbnail page just after title?
2. hot to get user1 field on the single image page also just after title (now it's presented amoung many other user fields, want to highlight it).
Many thanks in advance.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Displaying of user1 field in thumbnails and also single picture page
« Reply #1 on: December 02, 2011, 02:42:04 pm »

1. how to get user1 field on the thumbnail page just after title?
http://forum.coppermine-gallery.net/index.php/topic,73936.0.html


2. hot to get user1 field on the single image page also just after title
Copy the function theme_html_picture from themes/sample/theme.php to your theme's theme.php file, if it doesn't exist. Then, find
Code: [Select]
'{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),and replace with
Code: [Select]
'{TITLE}' => bb_decode($CURRENT_PIC_DATA['title'])."<br />".$CURRENT_PIC_DATA['user1'],
Logged

mitko

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 119
    • World of Lighthouses
Re: Displaying of user1 field in thumbnails and also single picture page
« Reply #2 on: December 02, 2011, 05:45:46 pm »

Thanks Andre, Solved
Pages: [1]   Go Up
 

Page created in 0.05 seconds with 20 queries.