coppermine-gallery.com/forum

Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: mitko on December 02, 2011, 02:29:16 PM

Title: Displaying of user1 field in thumbnails and also single picture page
Post by: mitko on December 02, 2011, 02:29:16 PM
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.
Title: Re: Displaying of user1 field in thumbnails and also single picture page
Post by: ΑndrĂ© on December 02, 2011, 02:42:04 PM
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'],
Title: Re: Displaying of user1 field in thumbnails and also single picture page
Post by: mitko on December 02, 2011, 05:45:46 PM
Thanks Andre, Solved