Hi there
Our charity is happily using Gallery 3.0.2 however I want to make a small change and I wonder if someone can advise as my skills do not extend to PHP etc?
When viewing a photo, I wish to add another section under the 'Album Info' which is displayed on the right-hand side of the image. I wish to include information to whom the copyright of the image belongs to and should anyone wish to use the image then who they accredit the image rights to.
If anyone can help then I would be very grateful
regards and best wishes
Ian
Posts: 27300
Does this 'copyright' info come from the image or is it just some text that you want to add?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 14
Hi Dave
It is simply some text that I wish to add. The accreditation may likely differ to that of the copyright especially if the image has been 'donated' to our charity.
regards
Ian
Posts: 27300
Edit modules/info/views/info_block.html.php with a text editor.
Change
to
Edit as you need. Do you need it translatable as well?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
More code could be added to have different text for albums versus items.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 14
Thanks for the reply.
Would it be possible to enable it so the field could be different on a per album basis?
Posts: 27300
You could do a bunch of if() statements checking album names or album owner or I think the custom fields module might be a better option.
Dave
____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 14
Custom fields sounds like a plan. Do they install in the same as other CMS like Joomla?
Posts: 27300
http://codex.gallery2.org/Gallery3:Modules:custom_fields
If the directions are not detailed enough, please be specific with your question.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team