I want to create a custom navigation bar to put in my header.phtml file.
For this I need a list of all the categories, i’m hoping that there is a simple function that I can call to get an array?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following gets the subcategories of a specified category, you should be able to work from here I think:
Then something like:
etc…
You may also be interested in:
Hope that helps point you in the right direction. Clearly the
load(3)can just be your root category.