USANet Creations
Users Support and Discussion Areas

NOTE: Always state the software package you have
when asking questions so you will get the correct answer,
as it does make a big difference in the answers you'll get!

| Main Site Home Page | Forums Home Page |

Subject: "Sub/Sub Categories"   Previous Topic | Next Topic
nonePrinter-friendly copy    
Conferences MakeBid Auction user submitted addons and updates Topic #210
Reading page 1 of 1 pages
Len
unregistered user
Sep-21-04, 08:37 AM (CST)
 
"Sub/Sub Categories"
 
   Hi Richard
I would like to add sub/sub categories i,e,
Main cotigory "Antique & Art" -----click on that, then have "Paintings" click on that and have
"Antique Paintings"
"Silver Paintings"
What code do I have to add?


antiques24 => '<!--antiques-->Christmas and Halloween Memorbilia',
antiques25 => '<!--antiques-->Cookie Jars',
antiques26 => '<!--antiques-->Lunchboxes',
antiques27 => '<!--antiques-->Time pieces -Clocks & Watches',
antiques28 => '<!--antiques-->FloBlue',
antiques29 => '<!--antiques-->Weird Stuff',
antiques30 => '<!--antiques-->Trading Cards',
antiques31 => '<!--antiques-->Paintings',


Many thanks for any help!
Best Regards
Len


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Richardadmin
unregistered user
Sep-21-04, 11:58 AM (CST)
 
1. "RE: Sub/Sub Categories"
 
   Below is an example of a main category with sub categories that go to a final sub category


%supercat = (

computer => 'Computers & Software',
hardware => 'Hardware',
software => 'Software',
);

%category = (


computer1 => '<!--computer-->Games',
computer2 => '<!--computer-->Mac',
computer3 => '<!--computer-->Multimedia',
computer4 => '<!--computer-->Services',

hardware1 => '<!--computer--><!--hardware-->Drives',
hardware2 => '<!--computer--><!--hardware-->Laptops',

software1 => '<!--computer--><!--software-->Education',
software2 => '<!--computer--><!--software-->OS',

);


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Len
unregistered user
Sep-21-04, 03:07 PM (CST)
 
2. "RE: Sub/Sub Categories"
 
   Hi Richard
Thanks very much for your help!
sorry to ask you all of these questions
I do appreciate all the times you have helped me.
Bye for now.
Best Regards
Len


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Don
unregistered user
Dec-23-04, 00:19 AM (CST)
 
3. "RE: Sub/Sub Categories"
 
   Richard, I've done this but need to go one sub more. How can I do this? Example:

%supercat
clothing => 'Clothing/Shoes/Acc',
womanscloths => 'Womans Clothing',
%category
womanscloths1 => '<!--clothing--><!--womanscloths-->Active & Fitness',
womanscloths2 => '<!--clothing--><!--womanscloths-->Intimates',
womanscloths3 => '<!--clothing--><!--womanscloths-->Juniors',

I need to add more subcats under Active & Fitness, Intimates, Juniors etc. Such as intimates>Bras, intimates>Hosiery.

Guess it would look like this example:
antiques1 => '<!--antiques--><!--antiquesart--><!--antiquepainting-->Oil Painting',
antiques1 => '<!--antiques--><!--antiquesart--><!--antiquepainting-->Watercolor',

Thanks for any help you can provide.
PS. System wouldn't let me register.

Don Barrett


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
richardadmin
unregistered user
Dec-23-04, 01:06 AM (CST)
 
4. "RE: Sub/Sub Categories"
 
   LAST EDITED ON Dec-23-04 AT 01:11 AM (GMT) by Richard (admin)
 
Below is an example of three sub categories under the the main one of
Clothing/Shoes/Acc

%supercat = (
womans => 'Clothing/Shoes/Acc',
womanscloths => 'Womans Clothing',
womansshoes=> 'Womans Shoes',
womansacc => 'Womans Acc',

)

Ętegory = (
womanscloths1 => '<!--womans--><!--womanscloths-->Womans Clothing',

womansshoes1 => '<!--clothing--><!--womansshoes-->Womans Shoes',

womansacc1 => '<!--clothing--><!-womansacc-->Womans Acc',

)

>I need to add more subcats under Active & Fitness, Intimates,
>Juniors etc. Such as intimates>Bras, intimates>Hosiery.
>Guess it would look like this example:

Yes you got the idea here for a ( main/sub/subsub category):

antiques1 => '<!--antiques--><!--antiquesart--><!--antiquepainting-->Oil Painting',
antiques1 => '<!--antiques--><!--antiquesart--><!--antiquepainting-->Watercolor',


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Don
unregistered user
Dec-23-04, 01:45 AM (CST)
 
5. "RE: Sub/Sub Categories"
 
   Hi Richard,

I've got this so far but here's what I don't understand. Take this actual in use category subcat for instance:

womanscloths3 => '<!--clothing--><!--womanscloths-->Juniors',

I've defined womanscloths =>Womans Cloths in the %supercat under the main supercat of cloths =>Clothing/Shoes/Acc and the above in the %category area.

Now how can I take this down one level more? I need to make a 'juniors' subcategory under womanscloths and have subcategory titles such as Dresses, Jeans, Outerwear, etc for the juniors subcat. Where or how do I define juniors =>Juniors

Is there a limit to how many subcategories of a main you can have?

Don


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
richardadmin
unregistered user
Dec-23-04, 01:43 PM (CST)
 
6. "RE: Sub/Sub Categories"
 
   LAST EDITED ON Dec-23-04 AT 01:59 PM (GMT) by Richard (admin)
 
The below example will show you how to do that with a main category of womans-Clothing/Shoes/Acc with a sub of Jr Womans then sub/sub under Jr Womans of Dresses, Jeans, and Outerwear',


%supercat = (
womans => 'Clothing/Shoes/Acc',
womansjr => 'Jr Womans',
womansdresses => 'Dresses',
womansjeans => 'Jeans',
womansoOuterwear => 'Outerwear',

)

%category = (
womanscloths1 => '<!--womans-->Womans Clothing',

womansjr1 => '<!--womans--><!--womansjr-->Jr Womans',

womansdresses1 => '<!--womans--><!--womansjr--> <!--womansdresses-->Dresses',

womansjeans1 => '<!--womans--><!--womansjr--> <!--womansjeans-->Jeans',

womansOuterwear1 => '<!--womans--><!--womansjr--> <!--womansouterwear-->Outerwear',


)


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
newyork
Charter Member
1 posts, Rate this user
Dec-24-04, 11:52 AM (CST)
Click to add this user to your buddy list  
7. "RE: Sub/Sub Categories"
 
   OK Richard, I get the picture. Config file will be large after done but all will work. Ever thought of using a mysql data base for this?

Don


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote


Conferences | Topics | Previous Topic | Next Topic
Rate this topic Rate this topic