disable creation date

areader

Joined: 2009-06-28
Posts: 5
Posted: Sun, 2009-06-28 18:02

Hi,
I want to disable creation date for the photos in my album. I don't have the option for this anywhere in my settings...tried matrix and classic themes. I deleted the date tags from templates/photo.tpl and tempates/album.tpl and I think templates/themes.tpl.

Is there anyway to accomplish this?

Thanks!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-06-28 23:53

Clear your cache:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
areader

Joined: 2009-06-28
Posts: 5
Posted: Mon, 2009-06-29 11:05

I have cleared the cache an tried looking on a different computer....

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-06-29 11:53

Post or PM a link to your site and I'll take a look to see what you've done.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
areader

Joined: 2009-06-28
Posts: 5
Posted: Mon, 2009-06-29 20:36
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-06-29 20:55

Looking at /gallery/themes/matrix/templates/album.tpl that file isn't changed and you don't have one in /gallery/themes/matrix/templates/local/album.tpl

Create /gallery/themes/matrix/templates/local, then copy album.tpl (and photo.tpl) into that local directory

Edit them and change
showDate=true

to
showDate=false

Then clear cache:
FAQ: How can I clear cached data?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
areader

Joined: 2009-06-28
Posts: 5
Posted: Mon, 2009-06-29 21:26

Thanks for your speedy reply.

I followed your instructions. I now have /gallery/themes/matrix/templates/local and have album.tpl and photo.tpl in it. I edited showDate=true to showDate=false.. Cleared cache...Still not taking away the date..weird. Any more ideas?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Mon, 2009-06-29 21:41

Please make sure you followed the last step of the clearing cache instructions:

Quote:
With the introduction of template caching in G2.3, you might find that editing a template file will not have an effect. Login ad admin -> site Admin -> Performance, uncheck 'Enable template caching', click save. Click the Clear Saved Pages button. Reverse when completed with template editing.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
areader

Joined: 2009-06-28
Posts: 5
Posted: Mon, 2009-06-29 22:31

Thanks so much for your help! It actually seems to have refreshed itself just as I was going back to it. I'll definitely remember that though! Much appreciated :)