Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Template images pointing to wrong DIR after server move??

Template images pointing to wrong DIR after server move??

Locked

Views: 1,337

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Jun 2008, 10:25 AM
#1
starbuck avatar

starbuck

New Zenner

Join Date:
Jun 2008
Posts:
47
Plugin Contributions:
0

Template images pointing to wrong DIR after server move??

Hi
I need some help hear I built up my cart on a test server and customized it. I then moved it to my housing serve. However when I tern on my custom template all the images seem to be pointing at the Template_default/images
And not CUSTOM/images.

Can anyone tell me why this is happening :censored: and what I need to do?

Thanks.

19 Jun 2008, 11:14 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Template images pointing to wrong DIR after server move??

It would help if we could see your site.

19 Jun 2008, 11:57 AM
#3
starbuck avatar

starbuck

New Zenner

Join Date:
Jun 2008
Posts:
47
Plugin Contributions:
0

Re: Template images pointing to wrong DIR after server move??

www.aquacooledpc.co.uk as you can see it has not been populated as yet.

19 Jun 2008, 3:04 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Template images pointing to wrong DIR after server move??

Not all your images are pointing to template_default. It's looking for the sidebox heading images there, but isn't finding them.

You should change the sidebox heading images in the stylesheet.

Your product images are coming from your 'aqua' template images folder.

19 Jun 2008, 4:07 PM
#5
starbuck avatar

starbuck

New Zenner

Join Date:
Jun 2008
Posts:
47
Plugin Contributions:
0

Re: Template images pointing to wrong DIR after server move??

See this is what is confusing me. my button images are looking at the correct place ```
([url]http://www.aquacooledpc.co.uk/includes/templates/Aqua/buttons/english/button_return_to_product_list.gif[/url])

But seems my logo, BG images and Sidebar are all looking at 'http://www.aquacooledpc.co.uk/includes/templates/template_default/images/sidebox_icon_catalog.gif'

looking at the side box php file i can see <img src="<?php echo $template->get_template_dir('/sidebox_icon_catalog.gif',DIR_WS_TEMPLATE, $current_page_base,'images')
anyone know where the template_dir is defined??
19 Jun 2008, 4:58 PM
#6
starbuck avatar

starbuck

New Zenner

Join Date:
Jun 2008
Posts:
47
Plugin Contributions:
0

Re: Template images pointing to wrong DIR after server move??

sorry about that i did it wrong was ment to be.

See this is what is confusing me. my button images are looking at the correct place ```
http://www.aquacooledpc.co.uk/includes/templates/Aqua/buttons/english/button_return_to_product_list.gif

> 
> But seems my logo, BG images and Sidebar are all looking at ```
http://www.aquacooledpc.co.uk/includes/templates/template_default/images/sidebox_icon_catalog.gif
``` looking at the side box php file i can see ```php
src="<?php echo $template->get_template_dir('/sidebox_icon_catalog.gif',DIR_WS_TEMPLATE, $current_page_base,'images'

anyone know where the template_dir is defined??

19 Jun 2008, 5:44 PM
#7
starbuck avatar

starbuck

New Zenner

Join Date:
Jun 2008
Posts:
47
Plugin Contributions:
0

Re: Template images pointing to wrong DIR after server move??

Never mind i fixed it i just made the template agane.
thanks for the help tho.:smile: