Forums / Templates, Stylesheets, Page Layout / Replace productListHeading with image

Replace productListHeading with image

Views: 874

Results 1 to 8 of 8
18 Aug 2011, 2:07 PM
#1
tonyb6 avatar

tonyb6

New Zenner

Join Date:
Mar 2010
Posts:
77
Plugin Contributions:
0

Replace productListHeading with image

Hi, Im trying to replace the 'product list heading' with a image file. Ideally I'd like to replace the highlighted section in the attached image with the banner/image below it.

I've had a look around the forum and best I can find is this thread (http://www.zen-cart.com/forum/showthread.php?t=84595) but its over 3 years old and based on a older version of zen. I;m using 1.3.9h and I wondering if anyone knows another more suitable option?

Thanks
Tony

18 Aug 2011, 2:52 PM
#3
tonyb6 avatar

tonyb6

New Zenner

Join Date:
Mar 2010
Posts:
77
Plugin Contributions:
0

Re: Replace productListHeading with image

Thanks for the above, it seems like it could do the job however I'm really looking at minimising the impact of any changes I make on the core components of Zen. While I've no doubt this add-on will work it does add/replace 9 files which makes me think I could be making work for myself in the future when upgraded versions of zen are released and I'd like to keep my change log down to edits.

Thanks again but if anyone knows any other ways please feel free to comment

18 Aug 2011, 2:59 PM
#4
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Replace productListHeading with image

TonyB6:

Thanks for the above, it seems like it could do the job however I'm really looking at minimising the impact of any changes I make on the core components of Zen. While I've no doubt this add-on will work it does add/replace 9 files which makes me think I could be making work for myself in the future when upgraded versions of zen are released and I'd like to keep my change log down to edits.

Thanks again but if anyone knows any other ways please feel free to comment

Well I see you have added an image on your listing on the thumbnail, and still have the 'clothing' text. So why not continue like that, and add the images manually in the category HTML description, and then remove the code that shows the text in the listing file, or find its tag in the style sheet and remove it that way, if possible.

18 Aug 2011, 3:28 PM
#5
stevesh avatar

stevesh

Black Belt

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

Re: Replace productListHeading with image

TonyB6:

I'm really looking at minimising the impact of any changes I make on the core components of Zen. While I've no doubt this add-on will work it does add/replace 9 files which makes me think I could be making work for myself in the future when upgraded versions of zen are released and I'd like to keep my change log down to edits.

In Zencart vernacular, that mod doesn't affect any 'core' files. All the files provided are overridable and go in your custom template folders. Version upgrades don't affect those files, which is the whole point of the override system. I'd use the mod.

19 Aug 2011, 11:33 AM
#6
tonyb6 avatar

tonyb6

New Zenner

Join Date:
Mar 2010
Posts:
77
Plugin Contributions:
0

Re: Replace productListHeading with image

stevesh:

In Zencart vernacular, that mod doesn't affect any 'core' files. All the files provided are overridable and go in your custom template folders. Version upgrades don't affect those files, which is the whole point of the override system. I'd use the mod.

It might not effect zen's core files but it will overwrite several of my core template files which would then involve me having to try and merge the various files together.

Thanks
Tony

19 Aug 2011, 12:02 PM
#7
tonyb6 avatar

tonyb6

New Zenner

Join Date:
Mar 2010
Posts:
77
Plugin Contributions:
0

Re: Replace productListHeading with image

dgent:

Well I see you have added an image on your listing on the thumbnail, and still have the 'clothing' text. So why not continue like that, and add the images manually in the category HTML description, and then remove the code that shows the text in the listing file, or find its tag in the style sheet and remove it that way, if possible.

The image attached above is just a screen print and not actual however I hadn't realised I could just add the image as a src in the description field, Its just a shame I cant add it in the name field.

Thanks
T

19 Aug 2011, 12:06 PM
#8
dgent avatar

dgent

Totally Zenned

Join Date:
Nov 2009
Location:
UK
Posts:
1,117
Plugin Contributions:
0

Re: Replace productListHeading with image

TonyB6:

The image attached above is just a screen print and not actual however I hadn't realised I could just add the image as a src in the description field, Its just a shame I cant add it in the name field.

Thanks
T

Yes, it makes it very easy that way, and no changing of core files.