I have setup a category group to use Url's. When navigating to that url does the template have direct access to that category's inputs like you would with and entry? Or do you have to use the segment and get the data that way?


Yes, the CategoryModel for your category will be available to the template as the variable category.

<h2 class="categoryTitle">{{ category.title }}</h2>
{{ dump(category) }}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.