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

Give me examples of category fields? I need ideas

How Do I?

yzs's avatar
yzs
40 posts
8 years ago
yzs's avatar yzs

So im still learning and im confused about category fields. Does it have an output tag? How do u make use of it or some examples will be good specially category field dropdown… So if i have category fields like: Topic Name ~ text input Topic Description ~ text output ??????- dropdown?

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
8 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

If you are talking about native categories, then you’d create a category group, add categories to it and then assign it to a channel.

If you look at URL and Path Settings you’ll see the section that reads Category URL segment. If your Category URL segment is to set to category, and you you have Category URL set to titles, then a working example would be:

http://yoursite.com/news - shows all news from your site

http://yoursite.com/news/category/politics - shows news from the politics category

EE will dynamically load entries from the category specified in the URL with the standard channel entries tag. Example:

{exp:channel:entries channel="news" limit="20"}
{title}
{/exp:channel:entries}

There are other useful tags such as Channel Category Heading and Channel Categories Tag.

Hope this helps.

       
yzs's avatar
yzs
40 posts
8 years ago
yzs's avatar yzs

Yes but what i mean is this

Category group>>create new category field

If my category group is named Topic then what category fields should I add to it?

Just a general sense of example

Or maybe if its called Genre, Catalogue, News…

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
8 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

As for “fields”, it depends on what you “need”. I’ve used it from anything from meta description to having custom copy for specific areas of the site.

But if you are asking the question, then it’s likely you don’t need any category fields? 😊

Hope this helps!

       

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.