(Matrix) How to "flush template cache"? Trying to visually integrate into existing website (SOLVED)

rcronin1

Joined: 2007-03-09
Posts: 47
Posted: Wed, 2008-12-10 15:00

My G2 URL: http://ctultimatealumni.com/gallery2/main.php

I just want the header and footer to match my main site pages: http://www.ctultimatealumni.com/

I have followed these directions: http://codex.gallery2.org/Gallery2:How_to_visually_embed_Gallery_in_your_own_website_by_editing_theme_templates

However, nothing has changed. Somewhere I saw that I should "flush the template cache" via Maintenance is SiteAdmin, but I don't have that option in my SiteAdmin. I DID "delete the template cache", but it had no effect.

I also found and went thru this page: http://codex.gallery2.org/Gallery2:Editing_Templates, but I'm not sure what if any of it I need to do.


Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache
Database = mysql 4.0.27-max-log, lock.system=flock
Toolkits = Gd, ArchiveUpload, Exif, LinkItemToolkit
Acceleration = none, none
Operating system = Linux linhost106.mesa1.secureserver.net 2.4.21-53.ELsmp #1 SMP Wed Nov 14 03:54:12 EST 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4
Rows in GalleryAccessMap table = 224
Rows in GalleryAccessSubscriberMap table = 314
Rows in GalleryUser table = 9
Rows in GalleryItem table = 313
Rows in GalleryAlbumItem table = 13
Rows in GalleryCacheMap table = 0

THANKS!
Becky

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2008-12-11 03:58

What files did you edit?
I don't see any changes.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
rcronin1

Joined: 2007-03-09
Posts: 47
Posted: Thu, 2008-12-11 04:25

Hi Dave,

I created a local folder, edited the theme.tpl file and FTP'd it up.

Becky

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2008-12-11 06:01
 
rcronin1

Joined: 2007-03-09
Posts: 47
Posted: Thu, 2008-12-11 14:46

Well, that is b/c I put it in the wrong folder. Thank you. Now when I look at my Gallery, it looks like the style sheet is linked (needs to be tweaked), the footer is there (yeah!), but header is MIA. would clearing the cache fix that? I'm nervous. I've read some major problems that people have had doing that. What is the best way to proceed?

Thank you!!!

Becky

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-12-12 05:25

The head part of your customization is not in the right spot. You should replace this bit of code a bit lower in the templare:

      <div id="gsHeader">
	<a href="{g->url}"><img src="{g->url href="images/galleryLogo_sm.gif"}"
	 width="107" height="48" alt=""/></a>
      </div>

Also you will want to add the proper table and not just the cells.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
rcronin1

Joined: 2007-03-09
Posts: 47
Posted: Fri, 2008-12-12 16:14

THANK YOU! THANK YOU! THANK YOU! Yippe! It's looks just like what I wanted. Great job, Dave. I'm so grateful. :)

http://ctultimatealumni.com/gallery2/main.php?g2_navId=xf4544140

Becky