Forums / General Questions / edit the index / hompage template

edit the index / hompage template

Locked

Views: 1,085

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Jan 2009, 4:20 PM
#1
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

edit the index / hompage template

i want to added some html / javascript / php into the homepage avobe where the define page editor added the text.

whats the file i need to edit??

templates/mytemplate/.....


5 Jan 2009, 4:24 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: edit the index / hompage template

.../common/tpl_index_default.php (though the javascript would be best loaded via Zen Cart's in-built loading mechanism)

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

5 Jan 2009, 4:56 PM
#3
kitcorsa avatar

kitcorsa

Totally Zenned

Join Date:
Feb 2007
Posts:
1,724
Plugin Contributions:
0

Re: edit the index / hompage template

tpl_index_default.php is the in the includes/templates default/templates not in common

should i copy it from the templates to my temples common and edit or make a folder in my templte called template, been a while since i changed my site so i forgetting


5 Jan 2009, 4:58 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: edit the index / hompage template

My bad. The copy you work on should go to the templates folder of your template.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

16 Mar 2009, 8:07 PM
#5
visua avatar

visua

New Zenner

Join Date:
May 2008
Posts:
18
Plugin Contributions:
0

Re: edit the index / hompage template

kuroi:

My bad. The copy you work on should go to the templates folder of your template.

Hey guys, I am using ZenCart 1.3.8.

I have copied tpl_index_default into my templates folder. I noticed however this seems to only edit the actual 'center column' area?

I want to be able to re-arrange my sideboxes on the homepage only, so they float below a center section - But ONLY on the homepage.

Is there a over-all homepage template instead of just the center column template?

thanks so much guys.

Mike

16 Mar 2009, 8:34 PM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: edit the index / hompage template

visua:

Is there a over-all homepage template instead of just the center column template?Gee. Thanks for the reminder of my goof :blush:

The overall page layout is controlled by the common/tpl_main_page.php template and layout intended for, or excluded from, the home page can be targeted using the $this_is_home_page variable.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)