Hello,
New to EE so thank you for your patience.
I’m trying to display a list of categories as a menu / navigation.
Not sure what other information is necessary.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 23, 2011 11:42am
Subscribe [4]#1 / Aug 23, 2011 11:42am
Hello,
New to EE so thank you for your patience.
I’m trying to display a list of categories as a menu / navigation.
Not sure what other information is necessary.
#2 / Aug 23, 2011 11:52am
Hi there,
You should be able to make use of the categories tag: http://ellislab.com/expressionengine/user-guide/modules/channel/categories.html
Post back here if you have any further questions.
#3 / Aug 23, 2011 12:00pm
{exp:channel:categories}
<a href="http://{path=channel/index}">{category_name}</a>
{if category_description}{category_description}{/if}
{/exp:channel:categories}What part of this code do i have to change to fit my site?
#4 / Aug 23, 2011 12:02pm
Depending on your needs, you may want to include the channel= or category_group= parameters.
Depending on your layout preferences, you may also want to change the style= parameter.
#5 / Aug 23, 2011 1:11pm
So I got to display the categories however I’m running into another issue.
When I click on a thumbnail to view that piece of work I am getting this error:
Error
The following tag has a syntax error:
{exp:catcount}
Please correct the syntax in your template.
I can’t find any iteration of catcount in the code so I’m a little lost.
Thank you for your help.
#6 / Aug 23, 2011 1:17pm
It seems your trying to use the http://devot-ee.com/add-ons/category-count plugin.
The error may be related to it not being installed.
#7 / Aug 23, 2011 1:31pm
So it appears that this is an EE1 plugin, however I’m on EE2. I found this code snippet on one of the pages I think is causing the issue:
<div id="portfolioTitle">
<span class="subtitle"><strong>
{categories channel="portfolio" show_group="2"}
{category_name}
:</strong> No. {absolute_count} of
{exp:catcount cat_id="{category_id}" status="open"}
</span>
{/categories}
<h1>{title}</h1>
</div>Not sure what this code says if anyone can help me out.
Thanks.
#8 / Aug 23, 2011 1:33pm
You should be able to download a ee2 version of the plugin here: http://ellislab.com/forums/viewthread/101532/
#9 / Aug 23, 2011 1:41pm
THANK YOU.
You guys are the best.
#10 / Aug 23, 2011 9:33pm
tsfexhibit,
Did Fusion Design get you all squared away? Let us know if you need further assistance.
Cheers,
#11 / Aug 24, 2011 9:55am
Absolutely. Thanks again.
#12 / Aug 24, 2011 3:50pm
Glad things are working for you again. If anything else comes up, please do let us know in a new thread..