Forums / Templates, Stylesheets, Page Layout / Possible to change pdt_listing_tpl according to category ???

Possible to change pdt_listing_tpl according to category ???

Locked

Views: 798

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Apr 2008, 2:04 PM
#1
timbaloo avatar

timbaloo

New Zenner

Join Date:
Aug 2006
Posts:
18
Plugin Contributions:
0

Possible to change pdt_listing_tpl according to category ???

Hello,

I am looking for someway to have 2 different layout styles for product listing according to product category.

I mean is there a way to have something like:
if cpath=7..., then get pdt_listing_tpl_1 (the modified one) else get pdt_listing_tpl (the usual one) ?

Thanks for your help,

Tim

8 Apr 2008, 2:36 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Possible to change pdt_listing_tpl according to category ???

You could first try customised stylesheets, perhaps???

Read the CSS_read_me.txt file in a standard set of ZC files, in the css folder of the classic template.

8 Apr 2008, 2:58 PM
#3
timbaloo avatar

timbaloo

New Zenner

Join Date:
Aug 2006
Posts:
18
Plugin Contributions:
0

Re: Possible to change pdt_listing_tpl according to category ???

Thanks for replying fairestcape, i really was far away to think that css can do this !!!

Sounds pretty interresting. If i want to modify the pdt_listing for category 7, i guess i have to create a c_7.css stylesheet.

I'm gonna test it right now

:yes:

8 Apr 2008, 3:05 PM
#4
timbaloo avatar

timbaloo

New Zenner

Join Date:
Aug 2006
Posts:
18
Plugin Contributions:
0

Re: Possible to change pdt_listing_tpl according to category ???

Worked perfectly !

:clap::clap: