Forums / Templates, Stylesheets, Page Layout / Main Page - Opens with Category QUESTION

Main Page - Opens with Category QUESTION

Views: 1,052

Results 1 to 15 of 15
7 May 2011, 8:23 AM
#1
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Main Page - Opens with Category QUESTION

FYI did a search first and found nothing relating to this

0= Top Level Categories
Or enter the Category ID#
Note: Sub Categories can also be used Example: 3_10

I have three subcategories that I want to show on the main screen.

I followed the example

2902_2527_1875

But only the subcategory with ID 1875 shows up. The category IDs I want shown are 2902 2527 and 1875

Am I doing it wrong? TIA!

don't mess with willie bee. i may go crazy on you.

7 May 2011, 3:00 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main Page - Opens with Category QUESTION

"0" shows all cats
you can enter one but not a string of several

Zen-Venom Get Bitten

7 May 2011, 3:07 PM
#3
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

kobra:

"0" shows all cats
you can enter one but not a string of several

I see. I took the example of 3_10 as two categories separated by an underscore.

don't mess with willie bee. i may go crazy on you.

7 May 2011, 3:50 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Main Page - Opens with Category QUESTION

3_10 means, in this case, category 3, subcategory 10.

7 May 2011, 10:55 PM
#5
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

stevesh:

3_10 means, in this case, category 3, subcategory 10.

ZC should update the wiki! :P

don't mess with willie bee. i may go crazy on you.

8 May 2011, 3:17 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main Page - Opens with Category QUESTION

ZC should update the wiki!
It is most likely correct and being read incorrectly

Give a link to the wiki article you are speaking of

Zen-Venom Get Bitten

8 May 2011, 8:58 AM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

willie bee:

ZC should update the wiki! :P

When you say "ZC should do something..." who do you mean? ie: whose responsibility is it to "update" something?

ZC is OPENSOURCE - meaning that anyone can contribute.

If you feel you have an addition/correction to make to a wiki item, then simply register with the wiki and edit the item. However... better know what you are talking about, or you'll come across as a buffoon.

By the way... that wiki item is comprehensive and 100% correct.

20 years a Zencart User

8 May 2011, 9:05 AM
#9
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

schoolboy:

When you say "ZC should do something..." who do you mean? ie: whose responsibility is it to "update" something?

ZC is OPENSOURCE - meaning that anyone can contribute.

If you feel you have an addition/correction to make to a wiki item, then simply register with the wiki and edit the item. However... better know what you are talking about, or you'll come across as a buffoon.

By the way... that wiki item is comprehensive and 100% correct.

Thanks for the explanation. But you are right. I don't know what I'm talking about which is why I won't update it. Just noting that it is confusing.

Note: Sub Categories can also be used Example: 3_10

doesn't tell you much in what 3_10 means to a newbie. YOU MAY UNDERSTAND IT SINCE YOU'RE A SUPERB GENIUS WITH OVER 6K POSTS but most of us won't but stevesh explained it clearly.

don't mess with willie bee. i may go crazy on you.

8 May 2011, 9:12 AM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

willie bee:

YOU MAY UNDERSTAND IT SINCE YOU'RE A SUPERB GENIUS WITH OVER 6K POSTS

er... don't shout please. No need to. The forum does not like shouting.

One of the things most newbies need to understand is that there is a LOT of existing help on the forum, for many of the regularly asked questions.

The forum home page gives essential advice for how to find answers, along with the need to read the tutorials, faq's and wiki.

http://www.zen-cart.com/forum/faq.php

Also, I am not a superb genius - just an ordinary genius. :D

20 years a Zencart User

8 May 2011, 9:20 AM
#11
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

schoolboy:

er... don't shout please. No need to. The forum does not like shouting.

One of the things most newbies need to understand is that there is a LOT of existing help on the forum, for many of the regularly asked questions.

The forum home page gives essential advice for how to find answers, along with the need to read the tutorials, faq's and wiki.

http://www.zen-cart.com/forum/faq.php

Also, I am not a superb genius - just an ordinary genius. :D

Again you are assuming I should have the same mindset as you. No it wasn't shouting. It's EMPHASIZING to you that we're not as smart as you. You may understand the wiki since you're such a pro but don't assume or expect others to be the same. Please explain to me stating that 3_10 is self explanatory to a newbie.
And again you're assuming I did not look for help first. You're telling me to look in the forums since it has so much info. I did SEARCH. I did check the WIKI. Which is why my first post came to be.

Please stop replying because you keep moving backwards.

don't mess with willie bee. i may go crazy on you.

8 May 2011, 9:40 AM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

My final comment on this thread...

Everyone on this forum was a newbie at one point. Me included. Over the last 6 years I have learned practically everything I know about ZC by using this forum and its resources in a structured, ordered manner.

All I am advising is that one should begin by doing a lot of reading first. This saves considerable time in the long run, and helps people to get a more comprehensive understanding of the structures of the program. You will begin to see patterns of behaviour, the logical relationships between functions, taxonomy, terminology, etc.

If you take out a day, and devote it to reading all the FAQ's and tutorials, and make notes along the way, you will be following the path I took (as an ignorant newbie 6 years ago) and which helped me towards developing a better understanding of this very versatile and detailed software.

You would also do well to invest in the User Manual (advert appearing on your screen).

I know the temptation is to dive into the deep end... but people who do this will spend many frustrating hours on the forum, not really knowing what they are looking for, or how to phrase questions to solicit a meaningful answer.

Unfortunately, zencart (like all software of its kind) is very complicated. There are also many, many NON-zencart issues that people need to know, if they want to manage their websites from a technical level. If a person does not know the basics of server set-up, html, css, ftp... etc, then their task is that much harder.

20 years a Zencart User

8 May 2011, 8:51 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Main Page - Opens with Category QUESTION

wiki:

Use 0 for top level categories, or enter the Category ID #. Note: Subcategories can also be used Example: 3_10
I believe that the "Subcategories" reference is in clear english with the example of 3_10

Zen-Venom Get Bitten

8 May 2011, 9:45 PM
#14
willie_bee avatar

willie_bee

Zen Follower

Join Date:
Mar 2011
Posts:
386
Plugin Contributions:
0

Re: Main Page - Opens with Category QUESTION

kobra:

I believe that the "Subcategories" reference is in clear english with the example of 3_10

I'd probably emphasize stevesh's explanation but do what you want. At this point I don't care anymore. I got it now. Others may not but this thread will explain it if they search for it.

Maybe since 0 was used in the explanation as a top category state 0_10 instead? Thanks to stevesh for the explanation. That's all that was needed.

don't mess with willie bee. i may go crazy on you.

9 May 2011, 12:28 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Main Page - Opens with Category QUESTION

0 is used to grab all Top Level Categories but you would never use 0_10 as no Category has 0 for its categories_id so there is no 0_10 ...

You would just use 10 if the Top level Category you wanted to use was categories_id 10 and want to open displaying its subcategories ...

3_10 is used to coincide with the layout of the demo products where this would make the opening display with DVD ... Action ... and the Products would display on the Home Page ...

Using 3 would of opened displaying the subcategories of DVD ...

Using 0 would open displaying all the Top Level Categories ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!