can't add logo need help please!!!

ninize

Joined: 2008-10-27
Posts: 7
Posted: Tue, 2008-10-28 07:33

First I created a directory called "local" like this : http://thaiweddingideas.com/sharephotos/themes/mytheme/templates/local

2.I copied a file "theme.tpl" to directory "local" that i made above , then i changed a section
from:
<div id="gsHeader">
<img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
</div>

to
<div id="gsHeader">
<img src="{g->url href="themes/mytheme/images/Logo.gif"}" width="220" height="150" alt=""/>
</div>

i only changed section above. Do i need to change another section which come after?

3. publish a file "theme.tpl"

4. i copied my logo to Each theme's images directory which "ajaxian, carbon,classic,floatrix,hybrid, matrix,sirius, slider,tile

5. i deleted the template cache

my logo still not show. Please help how to get rid of gallery logo and display my.

Many thanks

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2008-10-28 11:17

myTheme is only a reference to the theme you are actually using.
so if you were using carbon it would be
themes/carbon/templates/local/theme.tpl <- make a copy of carbon's original theme.tpl here and edit it instead of the original
Gallery looks for a copy in local first.
You would have to do the same for each theme you use.
You will have to clear the template cache after any template change gallery admin -> Maintenance -> Delete template cache

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ninize

Joined: 2008-10-27
Posts: 7
Posted: Tue, 2008-10-28 21:42

Thank you very much for reply.

I still cant add logo, I copied a theme.tpl from matrix original and edited. I've attached file theme.txt. Could you please check for me?

Thank you again
ninize

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2008-10-28 21:46

What about this?

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

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
ninize

Joined: 2008-10-27
Posts: 7
Posted: Tue, 2008-10-28 22:09

Thank you very much. Still can't

Please check my attached. "local.tpl"

I edited : <div id="gsHeader">
<a href="{g->url}"><img src="{g->url href="themes/matrix/images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
</div>
{g->theme include="progressbar.tpl"}
{else}
<div id="gsHeader">
<a href="{g->url}"><img src="{g->url href="themes/matrix/images/galleryLogo_sm.gif"}"
width="107" height="48" alt=""/>

then save under name "local.tpl" within directory "themes/yourTheme/templates/local.tpl"

Thank you for being patience with me

Many thanks
ninize

 
ninize

Joined: 2008-10-27
Posts: 7
Posted: Thu, 2008-10-30 21:53

Thank you very very very much it just shown right now.

Thank you for your help

http://www.thaiweddingideas.com

ninize