Forums / Templates, Stylesheets, Page Layout / Catogary images part 2

Catogary images part 2

Locked

Views: 1,579

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
25 Jun 2008, 3:17 PM
#1
kitcorsa avatar

kitcorsa

Totally Zenned

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

Catogary images part 2

if you have read my first post you might know what im trying to do. hopefully we will be to this stage.

this is the main catogary. ie the master catogary not a sub catogary.

What i am after doing is keep this main catogary image / banner on the top for all listing with in this section. ie when click through to a sub catogary within this section, the main catogary image is displayed as a banner like here. then when i click through to a a product in a subcatogary of this catogary this banner is displayed still.

Can this be done??

i can do this by uploading the same image for the subcatogarys but as you can see from the image this leave a very small image button where i want a nice image.

Thanks for any help.


25 Jun 2008, 4:06 PM
#2
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Catogary images part 2

guessing i need to change line 20 in tpl_index_product_list

  if ($categories_image = zen_get_categories_image($current_category_id)) {

guess the $current_category_id needs changing to get the image from the main catogary image. i dont know the code i need. hopefully some will.


27 Jun 2008, 8:49 AM
#3
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Catogary images part 2

at a guess i think i will need to change the $current_category_id to something that gets the category name / id from the 1 part of the breadcrum!

i dont know how to do this though!


30 Jun 2008, 11:19 AM
#4
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Catogary images part 2

Is it possible to have the same catogary image to be displayed on all sub catogarys display page???

ie want to create a main catogary and upload a banner shaped image, i then want this image to be displayed at the top (where the catogary image usally is) but allow sub catogarys to have there own images (not banners)

see here for a full description and where i got to before i got stuck.

http://www.zen-cart.com/forum/showthread.php?t=101447

Please help me as this would be great if i could do this


1 Jul 2008, 12:39 PM
#5
kitcorsa avatar

kitcorsa

Totally Zenned

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

Re: Catogary images part 2

is this not possible :(


2 Jul 2008, 2:36 PM
#8
Kim avatar

Kim

Obaa-san

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

Re: Catogary images part 2

Please do not post multiple threads for the same question. Your threads have been merged.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.