When I (as the admin), create a new album anywhere on the site, the file info for photos in that album shows:
Album Name: Admin / Album Name
Is there any way I can change it to:
Album Name: Album Name
Or have I just created the albums incorrectly? :P
you (as an admin) shouldn't create albums within user galleries, as the whole Coppermine gallery is your "user gallery" in a broader sense. Create albums in "regular" categories (you will have to create them first using the "Categories" link in your admin menu. I recommend taking a look into the coppermine documentation, as this is explained there as well.
Joachim
I am not creating albums within user galleries.
The user galleries section is empty.
The albums I have created using the 'Categories' link on the admin menu are displaying as in my first post.
Any ideas?
Open displayimage.php, and find this code;
$info[$lang_picinfo['Album name']] = '<span class="alblink">' . $owner_link . $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';
Now change it to this;
$info[$lang_picinfo['Album name']] = '<span class="alblink">' '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';
Not tested, so back up first.
Thanks Casper!
With a slight modification, worked a treat.
The replacement code:
$info[$lang_picinfo['Album name']] = '<span class="alblink">' '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';
Should be:
$info[$lang_picinfo['Album name']] = '<span class="alblink"><a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';
*sigh of relief*