Jump to content
Sign in to follow this  
willross

Official thread for Great Categories

Recommended Posts

I have a small problem with the contributions.

 

The total count of product next to my categories MISS the SPACING:

 

Battery & Charger(7)

 

I want it to be like this

Battery & Charger (7)

 

I installed V2.1

 

I dont know much about coding...can someone help?

 

Many thanks!

Edited by khoking

Best regards,

Koh Kho King

Share this post


Link to post
Share on other sites

khoking

 

At around line 88 you should see this:

 

$categories_string .= ' (' . $products_in_category . ')';

 

The ' ' is a non-breaking space. You can make adjustments here.


· willross

··········

Share this post


Link to post
Share on other sites
khoking

 

At around line 88 you should see this:

 

$categories_string .= ' (' . $products_in_category . ')';

 

The ' ' is a non-breaking space. You can make adjustments here.

 

willross, done...GREAT! Thank you very much! :thumbsup:


Best regards,

Koh Kho King

Share this post


Link to post
Share on other sites

Will,

 

 

Thanks for a great contrib.. I have one question not related. I want to have category specific text and titles. I can not seem to find the right contrib or area to edit this info myself.. searched all the OSC doc and Google.

 

Jason

Share this post


Link to post
Share on other sites

I am a newbie but I tired to research this question. I installed BTS and then installed Great Categories but I had problems with the categories box background being different from others. I used Great Categories CSS v2.1. Ic ould not for the life of me change the backgroud. Could someone help me do that? I would appreciate it. Thanks.

Share this post


Link to post
Share on other sites

jchi18

 

Change these and you will be all set.

 

 

From the installation text:

 

/*change the menu hover color below*/

#thecategories a:hover {

background-color: #eeeeee;

color: #000000;

}

 

Line 107 in 'categories.php (CSS Edition)':

 

$categories_string = '<div id="thecategories">';


· willross

··········

Share this post


Link to post
Share on other sites
jchi18

 

Change these and you will be all set.

From the installation text:

 

/*change the menu hover color below*/

#thecategories a:hover {

background-color: #eeeeee;

color: #000000;

}

 

Line 107 in 'categories.php (CSS Edition)':

 

$categories_string = '<div id="thecategories">';

 

I'm not quite sure what you want me to change. In both instances, "thecategories" is already there.

Share this post


Link to post
Share on other sites

Will,

I have since moved to CRE loaded as the mods were killing me. Do you work much with those guys with your contribs? I have pretty much got everything I want except being able to remove the buy it now button and use a quanities box next to the item in cat list... the customer would enter the number they would want for each item (lets say under paints) and just have to hit add to cart and all the items would be listed at once. This is critical as most of my customers are buying multiple items and it is not practical adding 1 at a time

 

Here is my site.

www.kabucas.com

here is what I am looking to do

www.jerrysartarama.com

Share this post


Link to post
Share on other sites

jchi18

 

Change the background color from #eeeeee; to what matches your store:

 

background-color: #eeeeee;

 

I was just showing you the style and where it was used.

 

 

kabuca

 

Does the current CRE have this feature in their 'categories.php'? If so, I should be able to move it over to this one.


· willross

··········

Share this post


Link to post
Share on other sites
jchi18

 

Change the background color from #eeeeee; to what matches your store:

 

background-color: #eeeeee;

 

I was just showing you the style and where it was used.

kabuca

 

Does the current CRE have this feature in their 'categories.php'? If so, I should be able to move it over to this one.

 

I tried that but all it did was change the background of the hover. It did not change the background of the category box. The category box background is transparent, FYI. Thanks for your responses.

Share this post


Link to post
Share on other sites

Hello,

 

I just installed the newest Version of that great Contribution, but I have problems with long category-names. the linebreak isn't very nice.

I saw, that the newest version doesn't create a table for each category, but an older does.

But the older does not display the categories like I want. I need a mix between both. BUT:

can anybody help me to realize that? or post the categories.php?

 

regards,

 

Philipp

Share this post


Link to post
Share on other sites

Great contribution! Thanks Will!

 

Looks very good and working properly, but I am not managing to get the cat. name and number of items in it on the same line. ie

 

Hardware

(6)

Software

(4)

 

 

The infobox is more than wide enough however! I have tried a nbsp near line 88 in cat.php, but this does not seem to work. Any ideas? Thanks in advance,

 

Skylla

Share this post


Link to post
Share on other sites

Hi, Nice contribution but I have a glitch that I can not figure out.

I have uninstalled it for the moment but would like to put it back in.

I am using 2.11 not CSS

Simply put,

 

When installed

 

The viewer sees the nice menus when entering the store

as soon as another link is clicked on the categories (or any other link I think), menus revert back to osc style never to return

 

my site is pretty modified so perhaps my conflict is from a previous contribution?

 

Fedexdirect shipping module w/saturday

Fedex lables 1.09

Google XML sitemap 1.3

Paypall-WPP 011

Quantity price break per product 1.2

Request for freight quote 1.2

SEO Assistant 1.3.3

Seperate price per customer 1.02

User Tracking with Admin 1.4.2

zz FAQ 1.0.2

Ultimate SEO 2.2.1.d

cDynamic Meta Tags 1.5

ImageMagic 1.13

Information Pages Umlimited 1.21

 

 

Thanks for the help, Dave.


-Dave

Share this post


Link to post
Share on other sites
Great contribution! Thanks Will!

 

Looks very good and working properly, but I am not managing to get the cat. name and number of items in it on the same line. ie

 

Hardware

(6)

Software

(4)

The infobox is more than wide enough however! I have tried a nbsp near line 88 in cat.php, but this does not seem to work. Any ideas? Thanks in advance,

 

Skylla

 

I am currently seeing this same issue.

I've also ben attempting to modify the code so that a top cat with NO subs does not have the > indicator. I'd prefer to have nothing there as it seems misleading.


My Contributions

 

Henry Smith

Share this post


Link to post
Share on other sites

OK, still having no luck with preventing the item counts from wrapping to the next line and not having the top cat display an arrow if there are no sub cat's.

 

Any suggestions anyone?

 

Oh, and has anyone figured out a way to be able to click on the cat a second time in order to have it collapse after it's been expanded?

 

This is just a want, while the first part is more of a need. Looks like I'll need to ditch this and go back to the stock layout until I can get this figured out.


My Contributions

 

Henry Smith

Share this post


Link to post
Share on other sites
Will Ross, thanks. This is one of the best contributions I have seen on this board!

 

I am working against time for the new year, and I am sure I will meet the time and spec requirements.

 

Have installed the seperate_colors_for_great_categories and looks great indeed. Works well with a wide variety of product range....

 

I however have two problems.

 

a. The subcategories are not showing in the box, though thox shows up.

b. Cant figure out why some thema images are not showing up.

 

Any Ideas around each of these?

 

Tony

Hi, I like everyone else, I love the contrib. However I seem to have lost the box that goes around everything in the categories. I'll try and dig a little deeper but any help would be great.

 

Trev

Share this post


Link to post
Share on other sites
Hi, I like everyone else, I love the contrib. However I seem to have lost the box that goes around everything in the categories. I'll try and dig a little deeper but any help would be great.

 

Trev

It's OK I have fixed it. Just had to change a couple of lines to suit my template. Same as a problem I had with boxad that maggi was gracious enough to help me with.

Share this post


Link to post
Share on other sites

Anyone able to help me out? I really hate the default cats

 

Hi, Nice contribution but I have a glitch that I can not figure out.

I have uninstalled it for the moment but would like to put it back in.

I am using 2.11 not CSS

Simply put,

 

When installed

 

The viewer sees the nice menus when entering the store

as soon as another link is clicked on the categories (or any other link I think), menus revert back to osc style never to return

 

my site is pretty modified so perhaps my conflict is from a previous contribution?

 

Fedexdirect shipping module w/saturday

Fedex lables 1.09

Google XML sitemap 1.3

Paypall-WPP 011

Quantity price break per product 1.2

Request for freight quote 1.2

SEO Assistant 1.3.3

Seperate price per customer 1.02

User Tracking with Admin 1.4.2

zz FAQ 1.0.2

Ultimate SEO 2.2.1.d

cDynamic Meta Tags 1.5

ImageMagic 1.13

Information Pages Umlimited 1.21

Thanks for the help, Dave.


-Dave

Share this post


Link to post
Share on other sites
Great contribution! Thanks Will!

 

Looks very good and working properly, but I am not managing to get the cat. name and number of items in it on the same line. ie

 

Hardware

(6)

Software

(4)

The infobox is more than wide enough however! I have tried a nbsp near line 88 in cat.php, but this does not seem to work. Any ideas? Thanks in advance,

 

Skylla

 

I am facing the same issue, still no LUCK, anyone can suggest the area where the root of the problem is ?I am fairly new to osc and hence little hard to find the location of exact piece of code for me.


..........

...........

Free Image Hosting : ImageTor.com

...........

........

Share this post


Link to post
Share on other sites
I am facing the same issue, still no LUCK, anyone can suggest the area where the root of the problem is ?I am fairly new to osc and hence little hard to find the location of exact piece of code for me.

 

I'm still at it too. I've tried trim and chop in numerous places believing the issue lied with an extra set of white spaces or a return before of after the code, but nothing. Results the same. I haven't given up, though I'm currently stumped as well. And of course this board has SOOOO much activity :(


My Contributions

 

Henry Smith

Share this post


Link to post
Share on other sites

OK. What version are you using. Please be specific.

 

If you choose to show product counts, then the place you need to look is here:

 

Line 80 in Standard v2.1

 

$categories_string .= ' (' . $products_in_category . ')';

 

There should be no way to wrap that. If so, use the old "nowrap" in the <td> or even older "<nobr>".


· willross

··········

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×