[matrix] elementary customization question
|
Cayenne
![]()
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.
|
|


Posts: 16503
Site Admin > Performance > Clear Saved Pages
http://codex.gallery2.org/Gallery2:Editing_Templates
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 3
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!
Posts: 16503
Oh, I thought you'd already gone to Site Admin > Maintenance and cleared the cache based on:
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
Posts: 16503
Oh, I thought you'd already gone to Site Admin > Maintenance and cleared the cache based on:
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
Posts: 3
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.