Zen Cart Logo

Noob in Need!

Locked

Views: 1,610

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
5 Jul 2009, 8:17 PM
#1
jrheeder avatar

jrheeder

New Zenner

Join Date:
Jul 2009
Location:
Far Far Away
Posts:
20
Plugin Contributions:
0

Noob in Need!

Hey All,

I recently started using zen cart, and I have just started to learn on how to create your own custom layout. Now from what I have read so far, it seems that your website uses the same layout for each page. I have 6-10 different layouts in mind for my website. Is it possible to have a different layout for each page on my website using zen cart.

E.g

Home Page = Layout 1
Categories selection = Layout 2
Products Page = Layout 1
Description Page = Layout 3
etc...

If so can someone point me in the direction where I can learn on how to effectively setup each page individually using the layouts I have in mind for each of the pages.

Regards,
Johan
a.k.a. Noob in Need!:clap:

5 Jul 2009, 8:18 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,617
Plugin Contributions:
0

Re: Noob in Need!

Exactly what are the differences between each of those layouts?

5 Jul 2009, 8:54 PM
#3
jrheeder avatar

jrheeder

New Zenner

Join Date:
Jul 2009
Location:
Far Far Away
Posts:
20
Plugin Contributions:
0

Re: Noob in Need!

Kim:

Exactly what are the differences between each of those layouts?

essentially all layouts are based around the 3 column concept but some have some alterations.

e.g.
Layout 1:
[IMG]http://img194.imageshack.us/img194/4980/layout1example.jpg[/IMG]

Layout 2:
[IMG]http://img248.imageshack.us/img248/9638/layout2example.jpg[/IMG]

Layout 3:
[IMG]http://img33.imageshack.us/img33/5789/layout3example.jpg[/IMG]

Layout 4:
[IMG]http://img194.imageshack.us/img194/681/layout4example.jpg[/IMG]

and so on.

Regards,
Johan
a.k.a. Noob is Need!:clap:

6 Jul 2009, 10:35 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Noob in Need!

At first glance, some may be possible - but may require lots of re-coding. Some "custom" layouts can be controlled by "element-specific" stylesheets. Other pages can be influenced by page-specific headers.

You need to talk to a zencart guru about how best this is achieved. While your images refer to "columns", you do not specify what content is to appear in each column. This will require a detailed and comprehensive brief from you, and is probably in the realm of "Commercial Help Wanted" as there would be a lot of work involved.

6 Jul 2009, 1:29 PM
#5
jrheeder avatar

jrheeder

New Zenner

Join Date:
Jul 2009
Location:
Far Far Away
Posts:
20
Plugin Contributions:
0

Re: Noob in Need!

schoolboy:

At first glance, some may be possible - but may require lots of re-coding. Some "custom" layouts can be controlled by "element-specific" stylesheets. Other pages can be influenced by page-specific headers.

You need to talk to a zencart guru about how best this is achieved. While your images refer to "columns", you do not specify what content is to appear in each column. This will require a detailed and comprehensive brief from you, and is probably in the realm of "Commercial Help Wanted" as there would be a lot of work involved.

Ok, so lets step back then in technical level. Can you build specific pages by say:

homepage uses a white left sidebar
about us has left sidebar disabled
shopping cart has left and right sidebar disabled

Or do they all you the same body layout?

Regards,
Johan

6 Jul 2009, 2:29 PM
#6
stevesh avatar

stevesh

Black Belt

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

Re: Noob in Need!

There's a file in **includes/templates/classic/css **called css_read_me.txt which discusses (briefly) page-specific stylesheets, which is where I think you'd want to start, using display:none; in the proper places.

6 Jul 2009, 2:51 PM
#7
jrheeder avatar

jrheeder

New Zenner

Join Date:
Jul 2009
Location:
Far Far Away
Posts:
20
Plugin Contributions:
0

Re: Noob in Need!

stevesh:

There's a file in **includes/templates/classic/css **called css_read_me.txt which discusses (briefly) page-specific stylesheets, which is where I think you'd want to start, using display:none; in the proper places.

Thank you, I will look into to it and comeback with my outcome

6 Jul 2009, 3:36 PM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Noob in Need!

You can disable header, footer and side-columns for specific pages, by editing tpl_main_page.php in the COMMON folder of your template. If it is not there, then use the DEFAULT file, and when edited, put it in includes/templates/YOUR-TEMPLATE/common/tpl_main_page.php .
*
(This may also require that you CREATE a folder called "common" in your custom template folder - at the location I show above.)*

6 Jul 2009, 4:01 PM
#9
jrheeder avatar

jrheeder

New Zenner

Join Date:
Jul 2009
Location:
Far Far Away
Posts:
20
Plugin Contributions:
0

Re: Noob in Need!

stevesh:

There's a file in **includes/templates/classic/css **called css_read_me.txt which discusses (briefly) page-specific stylesheets, which is where I think you'd want to start, using display:none; in the proper places.

Thank you, I will look into to it and comeback with my outcome

6 Jul 2009, 4:02 PM
#10
jrheeder avatar

jrheeder

New Zenner

Join Date:
Jul 2009
Location:
Far Far Away
Posts:
20
Plugin Contributions:
0

Re: Noob in Need!

schoolboy:

You can disable header, footer and side-columns for specific pages, by editing tpl_main_page.php in the COMMON folder of your template. If it is not there, then use the DEFAULT file, and when edited, put it in includes/templates/YOUR-TEMPLATE/common/tpl_main_page.php .
*
(This may also require that you CREATE a folder called "common" in your custom template folder - at the location I show above.)*

Seems easier that option