Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,610

Results 1,801 to 1,820 of 2,268
5 Jul 2011, 5:16 PM
#1801
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Categories Dressing

Ok so I've installed the mod and followed the instruction yet nothing seems to be happening so before I mess around with code and make it worse am I supposed to turn this on from admin. I've looked for such a link and found nothing.

Please point me somewhere here as I've been looking much but probably in all the wrong places.

The site is megasaveonline.com. Mod is installed but nothing changed

Thank you all

5 Jul 2011, 6:49 PM
#1802
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Back from a weekend away, and will take these in order.
Limelites - You can add "subtext" to the Hire Products category and put your link HTML in the define for the subtext, or add a heading above the next category for your link code.

define('WHAT_EVER', '<a href="index.php?main_page=coming_soon">Coming Soon</a>');

WHAT_EVER should be the appropriate kind of constant for the location and category desired, like examples in categories_dressing_defines.php.

5 Jul 2011, 6:56 PM
#1803
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

I'd like it to appear at the top of the group (above all products).
You can add a heading to the All Products link in the latest version of Cat Dressing.

5 Jul 2011, 7:01 PM
#1804
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Littlekid440 - You can eliminate the margins, padding, borders, etc. for the categories sidebox so that the groups can be styled to look like separate boxes, and occupy the full box width.

#categories {margin: 0; padding: 0; border: none;}
#categoriesHeading {display: none;}
#categoriesContent {padding: 0;}

and so on.

5 Jul 2011, 7:27 PM
#1805
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Dutchy - You can address top categories with

li.cat-top {background: etc;}

5 Jul 2011, 7:33 PM
#1806
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

hardwiredtemplates - You have the Categories Dressing stylesheet active, but the other files are not active. Some other categories-affecting mod is controlling the actual sidebox output, and the Cat Dressing classes and ids are not there for the stylesheet to use.

You do not need to activate anything in admin for Cat Dressing to work.

6 Jul 2011, 2:26 AM
#1807
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

hardwiredtemplates - You have the Categories Dressing stylesheet active, but the other files are not active. Some other categories-affecting mod is controlling the actual sidebox output, and the Cat Dressing classes and ids are not there for the stylesheet to use.

You do not need to activate anything in admin for Cat Dressing to work.

Thanks Glen so my question at this point is how do I make the other files active where do I go?

Thanks glen

6 Jul 2011, 2:37 AM
#1808
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

If they are installed in your current template folders as the readme instructs, they will be active. You have different files now, at least /includes/templates/your_template/sideboxes/tpl_categories.php, (from some other mod) in your current template folder.

6 Jul 2011, 2:50 AM
#1809
hardwiredtemplates avatar

hardwiredtemplates

Zen Follower

Join Date:
Sep 2008
Posts:
211
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

If they are installed in your current template folders as the readme instructs, they will be active. You have different files now, at least /includes/templates/your_template/sideboxes/tpl_categories.php, (from some other mod) in your current template folder.

I'll continue to search but this is a fresh website and as for mods all I have is the footer menu mod and no other mods except of course the categories dressing mod.

I'll probably have to remove the mod then try to re-install it once again.

6 Jul 2011, 11:29 AM
#1810
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

I see you have Cat Dressing properly installed now.

7 Jul 2011, 3:18 PM
#1811
dutchy avatar

dutchy

Zen Follower

Join Date:
May 2010
Location:
London
Posts:
324
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

Dutchy - You can address top categories with

li.cat-top {background: etc;}

Thank you! I was missing the li.
what a fool I am! There are a lot of ppl here that would be seriously stuck without you to help us. Thanks again.

7 Jul 2011, 4:30 PM
#1812
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The li isn't necessarily essential - it's just a bit more specificity, which in this case may have been enough to override a more generic rule that only specified a classname or element type.

a.cat-top would not have worked at all, because the <a> element is not named cat-top, the <li> element is.

10 Jul 2011, 1:16 PM
#1813
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

Back from a weekend away, and will take these in order.
Limelites - You can add "subtext" to the Hire Products category and put your link HTML in the define for the subtext, or add a heading above the next category for your link code.

define('WHAT_EVER', '<a href="index.php?main_page=coming_soon">Coming Soon</a>');

WHAT_EVER should be the appropriate kind of constant for the location and category desired, like examples in categories_dressing_defines.php.

Hi Glen, welcome back! I missed your reply. Works a treat:

define ('CAT_BOX_HEADING_349','0|0||| <a href="index.php?main_page=coming_soon">Coming Soon</a>|3||');

.catBoxHeading3 {
background-color: #F9F7FD;
color: #FFFFFF;
font-family: inherit;
font-size: 1.1em;
font-weight: bold;
margin-top: 0;
padding-bottom: 5px;
}

18 Jul 2011, 12:08 PM
#1814
davidguo1860 avatar

davidguo1860

New Zenner

Join Date:
Jul 2011
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

HI,
I have depart my categories into several categories as fellow on my website:
1.Top Brands;
2.Mens & Women Shop;
3.Shoes Styles;
4.Others Shoes;
All the categories show normally except 2.Mens & Women Shop.
It always show Major Heading Minor Heading.
I have rename them at:define ('CAT_BOX_HEADING_3','1|0|||Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2.
But it still show Major Heading Minor Heading.:blink:

Pls tell me how to do.:smile:

Tks.

18 Jul 2011, 6:24 PM
#1815
davidguo1860 avatar

davidguo1860

New Zenner

Join Date:
Jul 2011
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

HI,
I have depart my categories into several categories as fellow on my website:
1.Top Brands;
2.Mens & Women Shop;
3.Shoes Styles;
4.Others Shoes;
All the categories show normally except 2.Mens & Women Shop.
It always show Major Heading Minor Heading.
I have rename them at:define ('CAT_BOX_HEADING_3','1|0|||Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2.
But it still show Major Heading Minor Heading.

Pls tell me how to do.:smile:

Tks.

18 Jul 2011, 9:52 PM
#1816
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Let me see your website so I can tell what the cause of your problem is.> I have rename them at:define ('CAT_BOX_HEADING_3','1|0|||Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2.

But it still show Major Heading Minor Heading.So what does the define for CAT_BOX_HEADING_3 look like now?

19 Jul 2011, 2:27 AM
#1817
davidguo1860 avatar

davidguo1860

New Zenner

Join Date:
Jul 2011
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

Let me see your website so I can tell what the cause of your problem is.So what does the define for CAT_BOX_HEADING_3 look like now?

Tks
CAT_BOX_HEADING_3 now is:

define ('CAT_BOX_HEADING_3','0|0|||Mens & Women & Kids Shop|1');//no list break - divider and text heading - style 1

This is my website:http://www.bestfty.com

:smile:

19 Jul 2011, 3:51 AM
#1818
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

You have other custom headings working there, so all I can say is that that particular define did not make it into the file version on the server. Or you might still have the original definition above the new one so that the new definition would fail to be processed.

19 Jul 2011, 4:56 AM
#1819
davidguo1860 avatar

davidguo1860

New Zenner

Join Date:
Jul 2011
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

gjh42:

You have other custom headings working there, so all I can say is that that particular define did not make it into the file version on the server. Or you might still have the original definition above the new one so that the new definition would fail to be processed.

Thank you.
I would find it out.:cool:

19 Jul 2011, 2:29 PM
#1820
skinnyo avatar

skinnyo

New Zenner

Join Date:
Jul 2011
Posts:
4
Plugin Contributions:
0

Re: Categories Dressing

The mod looks promising, but I cannot get it to work at all. I copied all the files and in admin panel it shows the option to show all subcategories too, but when I put this in my template's header.tpl:

require($template->get_template_dir('tpl_categories.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_categories.php'); 

it just gives these errors error:

**
Notice: Undefined variable: box_id in /home/XXX/XXX/templates/XXX/sideboxes/tpl_categories.php on line 20
**

and:

Notice: Undefined variable: box_categories_array in /home/koulu116/public_html/includes/templates/sarianna/sideboxes/tpl_categories.php on line 22

Any suggestions?