Zen Cart Logo
Forums / Addon Sideboxes / Categories Dressing

Categories Dressing

Views: 531,645

Results 1,381 to 1,400 of 2,268
1 Jun 2010, 3:36 PM
#1381
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Categories Dressing

Hi! Just installed the module..

stevesh recommended this one when i asked about this..

I want to set my store like this...

**
Shop by Category**
Antiques
Books
etc
**
Shop by Subject**
Basic
Errors
etc.
**
Shop by Series**
Ancient antique collecting
catalog of world coins
etc.

I am still figuring and finding solution to customize it for my needs but i am not that very good at it, can you just point me. I guess if i have a start i can manage. Thanks!

1 Jun 2010, 5:55 PM
#1382
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

I am modifying

includes/languages/english/extra_definitions/premium4a/categories_dressing_defines.php

tried to duplicate the files there, saved then refreshed my main page to see if anything happen,

i modified this

define ('CAT_BOX_HEADING_3','1|0|Test|text|Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2

the word "text" appear under main_page=index&cPath=46

i can't get it.. what are the use of 3','1|0|?

2 Jun 2010, 5:46 AM
#1383
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

As the readme describes, 'CAT_BOX_HEADING_3' is an example of creating a heading for category id #3. There is no connection to category 46 except that category 3 (your "books") follows it. You now show the example headings for category 3, and an example image replacement for the category 3 name text.

To eliminate those, comment out the line you show, and delete the example image
/includes/templates/your_template/buttons/english/catimg3.gif.

2 Jun 2010, 6:54 AM
#1384
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

Thanks! but i still can't get it :blush: so i'm just doing trial and error :smile:. where can i edit the color of default color of text as i already change the background color.thanks!

2 Jun 2010, 7:08 AM
#1385
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

i think i need to read more because whenever i changed numbers some images came up like Sale and buy now! :shocking:

what i just wanna do is to have 5 headings.

2 Jun 2010, 7:22 AM
#1386
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

You need to know the cPath for each category where you want a heading, create a define for each of them, and comment out all the rest of the defines.

Each define should have only the content needed to make the heading you want. What kinds of headings do you want?

2 Jun 2010, 7:59 AM
#1387
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

You need to know the cPath for each category where you want a heading, create a define for each of them, and comment out all the rest of the defines.

i tried it and this is the code that was left out in categories_dressing_defines.php but i can't duplicate it..

define ('CAT_BOX_HEADING_1','1|0|||Collectors Catalog|1||1');

anyway these are the headings i want

i want to remove the "Categories" and will replace it with headings such as

Collectors Catalog

Stamps and Numismatics

Tribal Weapons

Tribal Adornments

Baskets

How can i easily implement this? Thanks!:smile:

2 Jun 2010, 8:38 AM
#1388
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

i'm getting the tune of it. the looks says its very promising :clap:

2 Jun 2010, 12:03 PM
#1389
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

I made modifications and its working great:bigups:

but i found out after moving categories that some goes under different headings.

for example...

i used this code```php
define ('CAT_BOX_HEADING_40','2|0|||Collector Guides|1|Shop by Categories|2');


and all items with cpath (?) #40 and above goes to it.

can i specify all the items that should go under that heading even with cpath below #40?

thanks!
2 Jun 2010, 12:24 PM
#1390
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

You can set the sort order for each category in its editing page. The headings are associated with a particular category; there is not a way to automatically have certain categories sort themselves under a heading, so you have to manually make sure that the heading goes on the first category you want in a group.

2 Jun 2010, 12:48 PM
#1391
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

Thank you. how can i do that, i tried editing the code but its now showing up or it is duplicating.

2 Jun 2010, 1:00 PM
#1392
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

these are the codes i have

<?php
/**
 * 
 * @copyright Copyright 2009 Glenn Herbert
 * @copyright Portions Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.gnu.org/licenses/ GNU Public License V3.0
 * Categories Dressing v2.7.3  -  Glenn Herbert (gjh42)   - 20090505  
 * includes/languages/english/extra_definitions/your_template/categories_dressing_defines.php
 */


define ('CAT_BOX_HEADING_1','1|0|||Tribal Artifacts|1|Shop by Categories|2');



define ('CAT_BOX_HEADING_85','1||||Shop by Tribal Groups|2');


define ('CAT_BOX_HEADING_40','2|0|||Collector Guides|1|Shop by Categories|2');


define ('CAT_BOX_HEADING_46','3|0|||Collectibles|1|0');



?>

how can i assign categories to each?? Thanks!

2 Jun 2010, 3:55 PM
#1393
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

trying hard wew! do i need to go to school to study css and php and etc. for me customize this easily :lamo: its been hours yet i cannot get it wooh! :bangin:

here is a website i want to somewhat clone the side box style.

http://www.kirkgateflowers.co.uk/

can you just tell me what code to add and what files to edit.

I want this heading

define ('CAT_BOX_HEADING_1','1|0|||Tribal Artifacts|1|Shop by Categories|2');

to contain my categories with cpath 1,73,81,82,2, and maybe more but if you go check what i've customized those categories is under this sub-heading.

define ('CAT_BOX_HEADING_85','1||||Shop by Tribal Groups|2');

i am just editing 2 files. categories_dressing_defines.php and stylesheet_categories_dressing.css. please help. thanks!

2 Jun 2010, 5:39 PM
#1394
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

sorry i keep on posting :blush:. you mean i sort the order in its editing page "you mean in catalog/categories/products" set the sort order? (found in this thread page) Ok. i've tried to sort out 2 categories and refreshed my site but the two categories still stayed under the sub-heading Shop by Tribal Groups.

:Flush:

3 Jun 2010, 12:13 PM
#1395
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

You need to give all of the categories sort orders, not just a few of them.

Your headings are looking good now.

3 Jun 2010, 12:36 PM
#1396
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

Thank you very very much for your time..

Hi! yap all have sort orders but as you can see the others does not belong to the correct heading. sorry for being a pain...:blush:

I am trying to put those categories below "Tribal Artifacts shop by category but the categories stayed under different heading"

i'm experimenting but i can't get it to where i want to. can i edit other files other ategories_dressing_defines.php and stylesheet_categories_dressing.css? thanks

3 Jun 2010, 1:07 PM
#1397
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

The sort order is the only thing that will put the categories in the right places. What are the sort orders for the categories now?

3 Jun 2010, 1:40 PM
#1398
corditreasures avatar

corditreasures

Zen Follower

Join Date:
Jan 2010
Posts:
141
Plugin Contributions:
0

Re: Categories Dressing

Hello! Thank you very very much for your time and for helping me out on this, much appreciated. its an excellent mod.

Anyway i've already customized the looks to my liking. First i remove the defines. then i created another sort order. 10-20-30 then one by one created a defines for each and look! its looking good! :clap:

check it out.. My site enhance in looks by this great great mod

HERE

again BIG BIG Thanks!

4 Jun 2010, 10:44 PM
#1399
gjh42 avatar

gjh42

Black Belt

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

Re: Categories Dressing

Looking good! I'm glad to see the capabilities of the mod well used.

7 Jun 2010, 12:31 AM
#1400
jmsnyder23 avatar

jmsnyder23

Zen Follower

Join Date:
Jan 2010
Location:
Richmond, Virginia, United States
Posts:
122
Plugin Contributions:
0

Re: Categories Dressing

Great mod! Only I can't figure out how to hide empty categories (not subs). I've fiddled around with the defines page forever and can't get it to do what I want. Anything other than 0 in the code hides ALL my categories.

Any thoughts?