Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Define Main Page (missing from my template)

Define Main Page (missing from my template)

Locked

Views: 1,554

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Oct 2007, 9:52 PM
#1
tiffosi99 avatar

tiffosi99

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Define Main Page (missing from my template)

As outlined in the edited screenshot provided, I need to display another element on the home page (just a simple table with images and text).

As far as I can tell, define_main_page isn't included in my template's tpl_main_page. Is there a simple solution to display my own include for the home page only?

Thanks in advance!

6 Oct 2007, 10:22 PM
#2
kuroi avatar

kuroi

Totally Zenned

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

Re: Define Main Page (missing from my template)

define_main_page isn't usually included in tpl_main_page. Rather it's included in tpl_index_default and tpl_index_categories. You IF statement should go in there and take advantage of the $this_is_homepage variable.

7 Oct 2007, 12:57 AM
#3
tiffosi99 avatar

tiffosi99

New Zenner

Join Date:
Nov 2006
Posts:
14
Plugin Contributions:
0

Re: Define Main Page (missing from my template)

Thanks, Kuroi.

Found what I was looking for in tpl_index_default. Didn't need to use an if statement or anything elaborate.

A simple include("....") was all that was required.

Thanks again.

inn-shoes.com