Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / where is the center column template file?

where is the center column template file?

Views: 760

Results 1 to 3 of 3
16 May 2011, 7:33 PM
#1
buddyh avatar

buddyh

New Zenner

Join Date:
Aug 2010
Location:
London
Posts:
21
Plugin Contributions:
0

where is the center column template file?

Hi, I can't for the life of me find the center column tpl file. I found the left & right box tpl files no problem, but in main_page_tpl.php the only code I can find is:

<?php
 /**
  * prepares and displays center column
  *
  */
 require($body_code); ?>

I'm looking for <div id=indexDefault class= .centerColumn>

Can anyone tell me pretty please :)

16 May 2011, 7:47 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,771
Plugin Contributions:
9

Re: where is the center column template file?

There are MANY files that are called to "center stage". If you are looking for the source of one, us the Admin >> Tools >> Developers Tool Kit to search for information contained on that page.

In this case, search for indexDefault

16 May 2011, 8:00 PM
#3
buddyh avatar

buddyh

New Zenner

Join Date:
Aug 2010
Location:
London
Posts:
21
Plugin Contributions:
0

Re: where is the center column template file?

Thank you!

Actually after all the searching, I juist added the div (to add rounded edges) right after that code in main_page_tpl.php and it worked. It turned out if I did it for indexDefault, I would also have to do it for all the other tpl files. As I have doen it, my new div now appears at the bottom of all tpl files.

That's pretty much my layout finished now :)