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.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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