We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Where is the category group ID

How Do I?

bobural's avatar
bobural
20 posts
7 years ago
bobural's avatar bobural

I am not sure if this is a bug or not (or the problem is between the chair and the keyboard) but I am unable to find the “category_group” ID when I create a new Category Group in admin.php -> Developer -> Categories.

On this page I’ve created a New Category Group called “test123” and in this New Category Group I have created Category-1, Category-2, Category-3.

I’ve also nested them and added entries to them (my test category group is assigned to a “test-channel”) but I cannot list them using:

{exp:channel:categories channel="test-channel" category_group="where-is-this-id?"}
    {category_name}
{/exp:channel:categories}

I’ve read the documentation multiple times but still I am unable to find the ID.

Thank you.

       
James Mathias's avatar
James Mathias
225 posts
7 years ago
James Mathias's avatar James Mathias

Hi,

The group ID is revealed in the CP URL when looking at the group listing. index.php?/cp/categories/group/2 the 2 there is the Group ID of the currently selected group.

To get there, just click any group name in the sidebar, and then check the URL.

       
bobural's avatar
bobural
20 posts
7 years ago
bobural's avatar bobural

Thank you James, So simple… 😊

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.