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

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

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 2 Guests 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'],