0

I have a channel called blog, and i have just created a category group with some categories. I have assigned the group to the the channel "blog", as it stands each entry has no category assigned, is it possible to use a default category for the exisiting and new entries created until another is selected.

For example:

Categories:

General
Another category
Another category
Another category

Basically all the entries to automatically have General as a category unless i go into the entry and chance to a different category.

Or do i have to go into every entry and set a category?

1 Answer 1

1

You can set a default category for all entries in a channel within the preferences for that channel.

Admin->Channels->Edit preferences

However if you mean that you want a category set unless another category is selected then you would need to use some kind of conditional statement in your template to pull entries that are not in any category.

I'd think about doing this using the category="not 1" parameter.

2
  • Superb, Thankyou as always. You replied to one of my questions i posted the other week about a postcode search and returning entries. Would it be possible to contact you about this i just need a nudge to get things working? Thankyou. Sep 17, 2014 at 11:16
  • Sure, just Google my username.
    – foamcow
    Sep 17, 2014 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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