Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,474

Results 321 to 340 of 2,268
5 Jul 2008, 2:52 PM
#322
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

No, Categories Dressing is built on the standard categories sidebox, and would require major recoding to work on another version of the box.

You could take some of the code and adapt it to another version, as long as you understand the coding principles involved. Some versions will be more difficult, depending on how they are organized, and some may be easy.

7 Jul 2008, 11:12 PM
#323
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Categories Dressing

HELP...

I just installed categories dressing mod on a live site and there's some type of image of CAT3SAMPLE in place of one of my categories AND a big pink LINK HEADER image between the specials section.

I only uploaded the files and have not modified ANYTHING at all yet.

PLEASE, let me know if there's an easy way to get rid of whatever these two big images are so I can get my site back to normal until I learn to SLOWLY modigy the necessary files with only MINOR changes that I can quickly undo if I mess up.

I wish there had been some type of warning in the install file that uploading this mod will automatically add two large images into categories.

Anyway, hoping for a response soon.

Using version 1.3.8 and here's a link to the site http://www.CraftMagick.com

Hope someone can help.

Thanks.

Zencart ROCKS!

7 Jul 2008, 11:30 PM
#324
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Categories Dressing

Craft Magick:

HELP...

I just installed categories dressing mod on a live site and there's some type of image of CAT3SAMPLE in place of one of my categories AND a big pink LINK HEADER image between the specials section.

I only uploaded the files and have not modified ANYTHING at all yet.

PLEASE, let me know if there's an easy way to get rid of whatever these two big images are so I can get my site back to normal until I learn to SLOWLY modigy the necessary files with only MINOR changes that I can quickly undo if I mess up.

I wish there had been some type of warning in the install file that uploading this mod will automatically add two large images into categories.

Anyway, hoping for a response soon.

Using version 1.3.8 and here's a link to the site http://www.CraftMagick.com

Hope someone can help.

Thanks.

Zencart ROCKS!

OK, I fixed the 'emergency' by:

  1. Viewing the source code of my home page and then renaming the image that was appearing in place of one of the category name.

  2. From the 'view source' I found the "Link Heading" reference and then did a search of the tpl_categories.php until I found the line to uncomment.

I still need to figure out the rest as far as colors, etc. go but now at least the site doesn't look ridiculous.

Just thought I'd post this in case anyone else ever runs into this same issue that is NOT php savvy (like yours truly :blink:

This will probably be a GREAT mod once I learn how to use it :clap:

Zencart ROCKS!

7 Jul 2008, 11:49 PM
#325
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The readme file does describe the example image files and settings and tells (in bold font) how to remove them, as well as details of how to do many other things.

8 Jul 2008, 2:10 AM
#326
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

The readme file does describe the example image files and settings and tells (in bold font) how to remove them, as well as details of how to do many other things.

You're right and I feel very embarrassed by my post. After I went back and re-read the install file it was there, plain as day :blush:

This was a very valuable learning experience for me --- ALWAYS thoroughly read ALL install text BEFORE ftp'ing to a live site!

And thank you again for your prompt and helpful responses to my frantic posts today. I really appreciate your time and help, gjh42.

Zencart ROCKS!

8 Jul 2008, 1:16 PM
#327
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

on

https://www.nothingbutcostumes.com

How can I make the space between each Category Header and the Sub Category Name smaller? I just want to close that gap a little.

8 Jul 2008, 3:13 PM
#328
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

I'm not sure what has caused that gap for you - it doesn't exist in my fresh install test site. The line-height: 14px; setting you made for body{} in your main stylesheet is the cause of the background not quite filling behind the letters of your headings.

Change/add this

margin-bottom: -0.7em;
line-height: 1.4em;

to bring the headings more into line:```
.catBoxHeading1 {
font-family: 'times new roman', serif;
font-weight: bold;
font-size: 1.2em;
color: #335511;
background-color: #00ccff;
/*background-image: url(../images/catheadbg1.gif); */ /uncomment to use background image with or without coded text/
/*height: 23px; */ /uncomment to use background image without coded text/
display: block;
padding: 0.0em 0.0em;
margin-top: 0px;
margin-bottom: -0.7em;
line-height: 1.4em;
}

Check in IE6 if you have it, as it may not correctly handle the negative margin-bottom even though it is valid CSS.
8 Jul 2008, 3:24 PM
#329
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Question: Did you perhaps uncomment the alternate
$disp_block_head = '<br />';
in tpl_categories.php?

-Yes, you must have, as there is not supposed to be a <br /> after the headings in your view source output.

That would cause an extra line break after headings, which is what it looks like you have.

8 Jul 2008, 10:53 PM
#330
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

Ok yes I did... And your fix worked..

Now to Tinker...

9 Jul 2008, 10:59 AM
#331
jvanree avatar

jvanree

Zen Follower

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

Re: Categories Dressing

I'm back with another question. Things start to look very good in the categories menu but I want to ad a link to conditions with the same kind of buttons I've used for the rest of the menu. How do I do that? Should I ad a link in the stylesheet? And what cpath will the button name require?

9 Jul 2008, 3:44 PM
#332
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Do you want this conditions link in the categories menu, or just an image in place of the "Algemene voorwaarden" text in the information menu?
You can replace text with an image by defining it with the <img ...> tags in the language file.

10 Jul 2008, 5:35 AM
#333
jvanree avatar

jvanree

Zen Follower

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

Re: Categories Dressing

Thank you very much. I wanted the image in the categories menu, but images in the information menu will do fine too. Thank you for your help!

12 Jul 2008, 5:05 PM
#334
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

How can I change the color of the bottom of the cells
https://www.nothingbutcostumes.com

Also, Can I put a border around each Section?

Or to be more spacific. I want to try to be as close as I can be to

https://www.buycostumes.com

13 Jul 2008, 3:53 PM
#335
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

I'm getting "can't find the website" for that now...

The code does not create distinct sections that can be given a border, it just allows headers at desired points. There won't be a simple way to recreate that look, but it may be possible without adding code to tpl_categories.php.

Try giving border-left and border-right to a.category-top-text.
Then give the categories above each heading a special style like category-bottom, and style a.category-bottom-text with border-left, border-right and border-bottom (as well as whatever other styling a.category-top-text has).
As long as there is no margin between the categories, this should give the look of a box.

14 Jul 2008, 1:07 PM
#336
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

I made these changes to

https://www.nothingbutcostumes.com

/* example for top category styling */
a.category-top-text {
/background-color: #ccddff;/
color: #1122aa;
border-left: 1px solid #112233;
border-right: 1px solid #112233;
category-bottom: 1px solid #112233;
/margin: 0.2em 0;/
/padding: 0.2em 0.3em;/
}

The Sides are what I was after...
How can I box around the Title and the footer in the box.

I think to make it like the other site, I would have to make them as an image right?

Also, which was the item to edit the colors of the Title and The Footers? I dont think Pink looks that well there

14 Jul 2008, 2:18 PM
#337
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

If you want the border to go around the header and footer of each section, you can add borders like```
.catBoxHeading1 {
border: 1px solid #112233;
border-bottom: none;
}

.catBoxSubtext {
border: 1px solid #112233;
border-top: none;
}

You can change the header and footer colors there also.
14 Jul 2008, 4:07 PM
#338
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

Ok

Thats much better...

How can I add spaces to this instead of underlines?

$content .= '<span class="catBoxHeading1">' . (file_exists(DIR_WS_TEMPLATE_IMAGES . 'cathead' . $current_path . '.gif') ? zen_image(DIR_WS_TEMPLATE_IMAGES . 'cathead' . $current_path . '.gif') . '</span>':'TV & Movies All Sizes__</span>' . $disp_block_head) . "\n";

If I dont have underlines the spaces wont show at all

https://www.nothingbutcostumes.com

15 Jul 2008, 4:39 AM
#339
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Definitely wierd... You have .catBoxHeading1 {... display: block; ...}, but it is not displaying as block. It is currently displaying as inline, which is why the headings don't fill the sidebox width.

15 Jul 2008, 4:05 PM
#340
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Categories Dressing

So what can I do to fix that?
Also strange... It fills in on IE but not on Firefox or Flock