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

Does this plugin description make sense to you?

Development and Programming

Bransin's avatar
Bransin
157 posts
12 years ago
Bransin's avatar Bransin

Wrote a plugin to solve an issue when listing categories. Trying to come up with the right description before pushing it out to the world.

Does this make sense? 😠 I am open to suggestions.

List categories from a group that share entries assigned to a single category that resides in a different group.

I’m trying to tailor the description to make the most sense on first read but I’m finding it rather difficult to describe my own plugin.

Here is an example of it’s usage. We have 2 category groups.

Category Group 1 (Country) - Estonia (id:1) - France (id:2) - Mexico (id:3)

Category Group 2 (Sport) - Basketball (id:4) - Baseball (id:5) - Cricket (id:6) - Football (id:7) - Tennis (id:8)

The categories listed on the frontend will be from Category Group 2 (sports). Now let’s say I only want to return sports categories that have entries. We can do this natively in EE, so what’s the big deal? Now what if I want to list the sports categories that have entries, and each entry is assigned to say “Estonia”. I am now filtering my list of categories from Category Group 2 based on a category from Category Group 1 (Estonia), and if both of those categories share a common entry.

{exp:category_knife category_id="1" group_id="2"}

Again, open to any suggestions.

       

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.