Photo Date and Time

JRSV

Joined: 2010-03-07
Posts: 4
Posted: Thu, 2010-05-20 10:44

Is there a way to "turn off" the date and time so it does not show on any images? Thanks, Jeff

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2010-05-20 14:25

Yes this is possible. Have you searched. It has been asked lots of times with results.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
JRSV

Joined: 2010-03-07
Posts: 4
Posted: Thu, 2010-05-20 21:29

Dave: I have searched and have not found the answer. Every image in every album has a date that I would prefer to eliminate. Can't seem to find the setting. Any help is appreciated.Jeff

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2010-05-20 23:52

What have you tried? This should work:
Edit /themes/<yourtheme>/templates/album.tpl (save as /themes/<yourtheme>/templates/local/album.tpl)

Scroll down to this code (towards the bottom of the page)

                {g->block type="core.ItemInfo"
                          item=$child
                          showDate=true
			  showOwner=$showOwner
                          showSize=true
       		          showViewCount=true
                          showSummaries=true
                          class="giInfo"}

And change "true" to "false" for anything you don't want to display.
Similar code in photo.tpl for the photo page.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
JRSV

Joined: 2010-03-07
Posts: 4
Posted: Fri, 2010-05-21 12:15

Dave: Many thanks. I am a rank amateur and was looking for a check box or similar to turn the date and time off. I have never played with the code and really wouldn't know where to start.Regardless, thanks for responding. Jeff