Keyword

Homegrown Category Parameter "Templates"

  • Bryan Smith
  • Bryan Smith's Avatar Topic Author
  • Offline
  • Premium Member
More
15 years 3 months ago #70282 by Bryan Smith
Homegrown Category Parameter "Templates" was created by Bryan Smith
One of the cool things about K2 is that ability to pick one category setup that you use that the other category can inherit the params from.

I forget why, but I was finding it hard to remember which category was the "mother" category. This would even be more true in a multi admin/author environment. It might be tough to remember that the params were inherited from one of many categories made long ago.

So I decided to create Template Categories (no items in these categories).

Param Template - Events
Param Template - Stores

Now I set all my inheritable params in a param template category and then set my other categories to inherit from template.

You can even make a parent category to hold all your param templates if your site is that broad.

Please Log in or Create an account to join the conversation.

More
15 years 3 months ago #70283 by Mark Banks
Replied by Mark Banks on topic Homegrown Category Parameter "Templates"
Have I got this right?

An empty category named using one of the names above - with all the params set as required -but no items assigned to it.
Then the real categories inherit their settings from whichever one you choose from?

Cool! And thanks for sharing.
Mark

Please Log in or Create an account to join the conversation.

  • Bryan Smith
  • Bryan Smith's Avatar Topic Author
  • Offline
  • Premium Member
More
15 years 3 months ago #70284 by Bryan Smith
Replied by Bryan Smith on topic Homegrown Category Parameter "Templates"
yep, that's about it.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum