caleydon.com > Add-ons > Category Count
Category Count for ExpressionEngine
Description: Displaying the number of an articles assigned to each category.
Category: ExpressionEngine add-on
Author: Gabriel Schwardy, Caleydon s.r.o. - www.caleydon.com
Buy & Download
Features
- easy installation
- compatibility: ExpressionEngine 4.x, 5.x, 6.x, 7.x
Installation
- Make sure, you are running ExpressionEngine version 4.x, 5.x, 6.x or 7.x.
- Upload the whole category_count folder into /system/user/addons/ folder.
- Go into the Add-On Manager in your admin area and install it.
- Add code into your template - see a code example.
Changelog
- Version 1.1.2 - 03/08/2022
* Updated release for ExpressionEngine 7.x - Version 1.1.1 - 12/31/2021
* added svg icon
* added README.md file in order to display documentation directly in the EE control panel - Version 1.1.0 - 03/09/2020
* Updated release for ExpressionEngine 6.x - Version 1.0.0 - 12/16/2018
* Initial release for ExpressionEngine 5.x & 4.x
Tag
{exp:category_count cat_id="7" status="open|closed" expired="yes"}
Parameters
cat_id="3"
The ID for the category that you want to output the number of entries for.
status="open|closed"
Determines the status of entries you want to count. Default setting is "open"
expired="yes"
Will include entries that have expired.
Code example
<h3>Categories</h3> <ul> {exp:channel:categories channel="News" show_empty="no" style="linear"} <li><a href="{path='blog'}">{category_name}</a> ({exp:category_count cat_id="{category_id}" status="open" expired="yes"})</li> {/exp:channel:categories} </ul>
License
Updated: March 6, 2020
Permitted Use
One license grants the right to perform one installation of the Software. Each additional installation of the Software requires an additional purchased license. For free Software, no purchase is necessary, but this license still applies.
Restrictions
Unless you have been granted prior, written consent from Caleydon s.r.o., you may not:
- Reproduce, distribute, or transfer the Software, or portions thereof, to any third party.
- Sell, rent, lease, assign, or sublet the Software or portions thereof.
- Grant rights to any other person.
- Use the Software in violation of any U.S. or international law or regulation.
Display of Copyright Notices
All copyright and proprietary notices and logos in the Control Panel and within the Software files must remain intact.
Making Copies
You may make copies of the Software for back-up purposes, provided that you reproduce the Software in its original form and with all proprietary notices on the back-up copy.
Software Modification
You may alter, modify, or extend the Software for your own use, or commission a third-party to perform modifications for you, but you may not resell, redistribute or transfer the modified or derivative version without prior written consent from Caleydon s.r.o. Components from the Software may not be extracted and used in other programs without prior written consent from Caleydon s.r.o.
Technical Support
Technical support is available through e-mail, at addons@caleydon.com. Caleydon s.r.o. does not provide direct phone support. No representations or guarantees are made regarding the response time in which support questions are answered.
Refunds
Caleydon s.r.o. offers refunds on software within 30 days of purchase. Contact addons@caleydon.com for assistance. This does not apply if the Software is free.
Indemnity
You agree to indemnify and hold harmless Caleydon s.r.o. for any third-party claims, actions or suits, as well as any related expenses, liabilities, damages, settlements or fees arising from your use or misuse of the Software, or a violation of any terms of this license.
Disclaimer Of Warranty
The software is provided "as is", without warranty of any kind, expressed or implied, including, but not limited to, warranties of quality, performance, non-infringement, merchantability, or fitness for a particular purpose. further, Caleydon s.r.o. Does not warrant that the software or any related service will always be available.
Limitations Of Liability
You assume all risk associated with the installation and use of the software. In no event shall the authors or copyright holders of the software be liable for claims, damages or other liability arising from, out of, or in connection with the software. License holders are solely responsible for determining the appropriateness of use and assume all risks associated with its use, including but not limited to the risks of program errors, damage to equipment, loss of data or software programs, or unavailability or interruption of operations.
Help us
Got an idea how to improve this add-on? Don't hesitate and write me: addons [@] caleydon.com
Last update: 08/03/2022