Displaying of user1 field in thumbnails and also single picture page Displaying of user1 field in thumbnails and also single picture page
 

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]

Main Menu

Displaying of user1 field in thumbnails and also single picture page

Started by mitko, December 02, 2011, 02:29:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mitko

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Ă©

Quote from: mitko on December 02, 2011, 02:29:16 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


Quote from: mitko on December 02, 2011, 02:29:16 PM
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
'{TITLE}' => bb_decode($CURRENT_PIC_DATA['title']),
and replace with
'{TITLE}' => bb_decode($CURRENT_PIC_DATA['title'])."<br />".$CURRENT_PIC_DATA['user1'],