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?
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.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.