[matrix] elementary customization question

Cayenne
Cayenne's picture

Joined: 2009-05-24
Posts: 3
Posted: Sun, 2009-05-24 04:26

Good evening!

I've had a dickens of a time removing the date. I'm obsessively clearing the cache. I've modified the album.tpl file like mad (properly on a local subdirectory)

can someone give me a simple walkthrough? I feel silly here.


Gallery URL = http://www.cyc.org/gallery2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.1.6 apache2handler
Webserver = Apache
Database = mysqli 5.0.45, lock.system=flock
Toolkits = ArchiveUpload, Gd
Acceleration = full/900, none/900
Operating system = Linux server1.faultlineproductions.com 2.6.18-128.1.10.el5 #1 SMP Wed Apr 29 13:55:17 EDT 2009 i686
Default theme = matrix
gettext = enabled
Locale = en_US

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-05-24 05:53

Site Admin > Performance > Clear Saved Pages

http://codex.gallery2.org/Gallery2:Editing_Templates
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Cayenne
Cayenne's picture

Joined: 2009-05-24
Posts: 3
Posted: Sun, 2009-05-24 17:26

Thank you for the prompt response! I'd been to that page several times, and thought I had followed it, but with your encouragement, I shall do so again, documenting my steps either in hopes of spotting my error, documenting my success, or leaving a trail for the intrepid coders who follow me.

1. In the /templates/ directory, create a /local/ directory and duplicate album.tpl so that its path is /templates/local/album.tpl
2. At about line 148, edit showDate=true to be showDate=false
3. Save. Duh. Check the page. No change.
4. Clear the cache(s). Oh wait, nivekiam has pointed out the button at the bottom of Admin > Performance labelled "Clear Saved Pages". Let's do that.
5. Failure. Cleared the caches as found in Admin > Maintenance, too. Still failure. Feels as if I am editing the wrong file.
a. Idiot check: I made a small change to the theme.tpl file (NOT in the local subdir) and got that to be reflected.
b. Check 2: make a small change to the album.tpl file (NOT in the local subdir) and got that to be reflected.
6. Something wrong with the local subdir? Changed its properties to 775.
7. Well, whaddya know? I'd point out that the Site Admin > Performance > Clear Saved Pages button seems to do nothing (I had unchecked the cache option box) but NO MATTER WHAT, it seems that clearing the template cache in Admin > Maintenance is a must.

Thanks very much for setting be back on the path of righteousness and light. For me, the secret, it seems, was adequate permissions in the local subdir, with execute by anyone being the needfullest!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-05-24 19:43

Oh, I thought you'd already gone to Site Admin > Maintenance and cleared the cache based on:

Quote:
I'm obsessively clearing the cache

BTW, change the permissions of that directory back to 755, there is no reason anyone but you needs to be able to write to that directory.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sun, 2009-05-24 19:43

Oh, I thought you'd already gone to Site Admin > Maintenance and cleared the cache based on:

Quote:
I'm obsessively clearing the cache

BTW, change the permissions of that directory back to 755, there is no reason anyone but you needs to be able to write to that directory.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
Cayenne
Cayenne's picture

Joined: 2009-05-24
Posts: 3
Posted: Sun, 2009-05-24 21:11

Thanks for the tip on the directory!

Yes, I was using the Maintenance cache clearing. the problem was, I think, the file permissions.

Thanks again.