Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,470

Results 281 to 300 of 2,268
09 Jun 2008, 10:03
#281
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Categories Dressing

How to remove the default 'Link Heading' from the categories sidebox?

10 Jun 2008, 03:05
#282
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

The readme describes this. If you have the latest version, it is an html file for easier reading.

Just add a comment mark // in front of the line mentioned, in tpl_categories.php.

16 Jun 2008, 22:47
#283
melonian avatar

melonian

New Zenner

Join Date:
Jun 2008
Posts:
8
Plugin Contributions:
0

Re: Categories Dressing

Hi Glenn,

First of all thanks for the files and specially for the help you offer here in the forum.

I have tried other categories addons and this is the one that works best for me, but I'm trying to make it show the first level subcategories constantly.
The problem is that so far I have only TWO big categories and the important thing is the subcats (but I only want to show those first level subcats and not the deeper level ones). Is there a way to do this with Categories Dressing??

Thanks in advance!

17 Jun 2008, 06:14
#284
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

Categories Dressing does not deal with which categories are displayed. It is easy to add code to it to hide specific categories or subcat levels, but it is not able to show cats that would not normally appear.
For that, you need one of the expanded categories mods, like fragfutter's Uncollapsed Categories Tree (hosted on his site; link in the forum thread for it.)
This or any expanded cats mod will probably not work with Cat Dressing, because both need to modify the same file. It may be possible to merge the custom elements - I haven't tried this.

17 Jun 2008, 15:53
#285
melonian avatar

melonian

New Zenner

Join Date:
Jun 2008
Posts:
8
Plugin Contributions:
0

Re: Categories Dressing

thanks for the reply.

I tried fragfutter's Uncollapsed Categories Tree but it's not that good because uses the whole category tree instead of just the first level subcategories.

And I'm not familiar enough with the code to try to merge both right now.
I'll try to find another solution, but thanks anyway, man :)

cheers

17 Jun 2008, 17:54
#286
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

Once you have the whole category tree, restricting it to a particular level of subcats is easy. I have posted about it more than once. And if the subcat restriction is the only custom function you need, you don't need to merge with Cat Dressing.

19 Jun 2008, 23:34
#287
shpeedie avatar

shpeedie

New Zenner

Join Date:
May 2008
Posts:
29
Plugin Contributions:
0

Re: Categories Dressing

I want to increase the font size of all my headings only - Categorys, New Products, Information etc but cant seem to find in the sylesheet where to do this ?
http://www.crazyballs.com.au
Can someone help me please ? Thanks!

20 Jun 2008, 01:59
#288
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

Those headings are not related to Categories Dressing, but you can set left & right BoxHeadings in your stylesheet. Find```
h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
font-size: 1em;
color: #ffffff;
}

and replace with```
h3.leftBoxHeading, 
h3.rightBoxHeading, h3.rightBoxHeading label {
	font-size: 1.2em;}
	}
h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
	color: #ffffff;
	}
23 Jun 2008, 14:44
#289
motodelta avatar

motodelta

Zen Follower

Join Date:
Jan 2006
Posts:
119
Plugin Contributions:
0

Re: Categories Dressing

So here is a behavoir that I'm confused about.

When I replace a category with an image/hover image if I roll off the button before the target page has loaded, IE essentially cancels the click. Anyone ever seen this?

Is this an IE problem or a Cat dressing issue?

23 Jun 2008, 16:04
#290
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

I haven't seen it, but I don't use IE any more than necessary. My guess would be that it is a function of how IE handles CSS. It is only a Cat Dressing issue insofar as Cat Dressing uses a CSS hover.

27 Jun 2008, 17:28
#291
beggarsbones avatar

beggarsbones

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

Re: Categories Dressing

I just installed this yesterday and have been doing ok with using images instead of text for the categories, but have run into an issue with hover-images. in this case i took out the img for my gift certificate category and made it a bg image with a bg hover, and the hover works but the regular bg dissapears. the hover also changes the size of the cat box, see here:

https://www.beggarsbones.com/store

i've been following the readme as best i understand, any idea where i went wrong? thanks!
R

27 Jun 2008, 18:42
#292
motodelta avatar

motodelta

Zen Follower

Join Date:
Jan 2006
Posts:
119
Plugin Contributions:
0

Re: Categories Dressing

You must still be working on it, because I don't see GC as an image at all.

...and GARLIC dog breath? eew! :) Post back when it's up and we can look.

27 Jun 2008, 18:47
#293
beggarsbones avatar

beggarsbones

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

Re: Categories Dressing

its up there, i was fussing with it. mouse under 'clothes' and the hover image for gc will come up, but the regular image won't.

hey, my dogs have eaten much, MUCH worse than garlic. we can go there later.... :)

27 Jun 2008, 19:09
#294
motodelta avatar

motodelta

Zen Follower

Join Date:
Jan 2006
Posts:
119
Plugin Contributions:
0

Re: Categories Dressing

SO you've checked that

  1. the image exists in the proper place?
  2. That there isn't a type in this section of the css (including the name?)

Post that section of the cSS here.

27 Jun 2008, 19:21
#295
beggarsbones avatar

beggarsbones

New Zenner

Join Date:
Dec 2007
Posts:
54
Plugin Contributions:
0

Re: Categories Dressing

this is what i have in my stylesheet... if theres a different css you wanted lemme know.

#categories a { 
    background-repeat: no-repeat;
    display: block;
    }

a.catBg14 {
    background-image: url(../images/catbg14.gif);
    height: 30px;
    }
	
a.catBg14:hover {
    background-image: url(../images/catbg14hover.gif);
	height: 30px
	}
	
	

for sure the image names are correct and theyre in the right folder, as the non hover image work.

i've read over the readme (not saying i didnt miss anything) - is there anything else i need to do other than add that passage to my stylesheet and put the gifs i n the right folder to get hovers to work?

27 Jun 2008, 22:19
#296
motodelta avatar

motodelta

Zen Follower

Join Date:
Jan 2006
Posts:
119
Plugin Contributions:
0

Re: Categories Dressing

One of them has a semi-colon after 30px, the other doesn't.

28 Jun 2008, 04:38
#297
motodelta avatar

motodelta

Zen Follower

Join Date:
Jan 2006
Posts:
119
Plugin Contributions:
0

Re: Categories Dressing

That's the only thing I can see. The other thing I noticed was that if you used the next category as a seperator, sometimes the category above it started acting weird.

Do me a favor and try two things:

  1. Fix that semi-colon.
  2. If that doesn't work, change the sort-order and move the Gift-Certificates category to the top and see if it works then...

Best of luck!

Chris

28 Jun 2008, 07:08
#298
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Categories Dressing

The semicolon in that particular location is a good idea for consistency, but is not required. Actually, the hover declaration doesn't need a height at all, unless it is different from the non-hover image height.

The Gift Certificates images are both 38px high; since you have specified 30px height in your stylesheet, they are naturally getting cut off. Background images do not take up any space by themselves - the space will be whatever you specify it to be.
And both of the GC images are where they are supposed to be in your template images folder. I don't know why you wouldn't be seeing the non-hover one.

28 Jun 2008, 11:33
#299
jvanree avatar

jvanree

Zen Follower

Join Date:
Mar 2008
Location:
Gouda, Netherlands
Posts:
211
Plugin Contributions:
0

Re: Categories Dressing

Hi Glenn

I saw this mod in action on a few sites and I now am trying to make it work for my site. It is a great mod but I'm a real noob with this kind of things, so if you can please help me out?

I just want to know how I can make an image based menu. So that every category doesn't show text in the menu, just the images I've made for the menu.

Too keep it simple; say my categories would be
-apples
-pears

I want to show an image of an apple for the category apples and the image of a pear for the category pears.

The kind of info I need is:

The size of the image
Where the image goes
What the image should be named like
If I need to edit a php/css file and where that file is located and what to edit.

I'm constructing this offline so I can't provide a link.

Thanks in advance for your help!

Juliet

29 Jun 2008, 02:22
#300
relentless avatar

relentless

New Zenner

Join Date:
Sep 2007
Posts:
56
Plugin Contributions:
0

Re: Categories Dressing

Attn:: gjh42
I am using categories dressing, works great no issues.
2 Questions, I have 7 non linked Headings column left,
I would like to change to linked Headings.
these will be text links.
This is the first Heading in column left.

<?php // categories dressing - add (divider and) heading above a cat $disp_block_head = ''; //$disp_block_head = '<br />'; // for heading not block uncomment this line switch ($current_path) { case '28': //replace number with your desired cPath //$content .= '<hr class="catBoxDivider" />' . "\n"; // to add divider uncomment this line $content .= '<span class="catBoxHeading1">' . (file_exists(DIR_WS_TEMPLATE_IMAGES . 'cathead' . $current_path . '.gif') ? zen_image(DIR_WS_TEMPLATE_IMAGES . 'cathead' . $current_path . '.gif') //I would like these Headings,to be links. . '</span>':' >Air Conditioning<br /> Split System<br /> Ducted<br /></span>' . $disp_block_head) . "\n"; break; ) ?>

This is the style sheet css call that is for the Cat. Headings
.catBoxHeading1{
font-family: arial,verdana,helvetica, sans-serif;
font-weight: bold;
font-size: 1em;
color: #00DD00;
margin-top: 2px;
margin-bottom: 2px;
padding-top:2px;
padding-bottom:2px;
margin-left:-6px;
}
-Question 1
Does thie convert it to a link css
.catBoxHeading1:link {
font-family: arial,verdana,helvetica, sans-serif;
font-weight: bold;
font-size: 1em;
color: #00DD00;
margin-top: 2px;
margin-bottom: 2px;
padding-top:2px;
padding-bottom:2px;
margin-left:-6px;
}
.catBoxHeading1:visited {add style);
.catBoxHeading1:hover {add style);
.catBoxHeading1:active {add style);
---Question 2
This question is is how to connect the URL,
to the Heading links. I would use the
first Category to Product link url below each heading,
as seen in Catalog/[Categories/Products]
Thank you.