3

There is a setting to restrict to Category Groups in Seg2Cat -- see the documentation. Note that, by default, Seg2Cat has this caveat: If there are multiple categories with the same url_title, but in different groups, this extension will only return one of those. So best make sure your category url_titles are unique, or you select the relevant ...


2

If, as per your example, you only want to show categories from a certain group, you can use the show_group="" parameter on the {categories} variable pair. Creating the URLs would then look something like... /products{categories show_group="1"}/{category_url_title}{/categories}/{url_title}


2

Here is a plugin that will give you the desired result you need without a custom query. http://devot-ee.com/add-ons/entries-number


2

You need to specify the channel parameter, and you can leave out dynamic="no" because that's not a parameter for this tag. If specifying the channel parameter does not work,try adding the following parameters: status="not closed" show_future_entries="yes" show_expired="yes" {exp:channel:categories category_group="1" status="not closed" ...


2

When you are in the EE Control Panel go to Developer/Categories page and select a Category Group in LH pane: the category group ID is then shown as the final element of the URL - if you are viewing category group 1, your URL will look a bit like this: domain.com/admin.php?/cp/categories/group/1 It would be helpful if the group ID number appeared in a more ...


1

In EE5 there is an easy solution: create a channel called "Genres" and put your categories into a field in that channel, then you can tell EE to populate your Select field using the values from that channel. There are other options that are more complicated than this - there are (AFAIK) no easy ways to tell EE to populate a select using the content of a ...


1

This doesn't seem to be an option. https://ellislab.com/expressionengine/user-guide/add-ons/channel/category_archive.html I curled and searched that page and found zero references to "Category Group" (case insensitive search). How dynamic is that group? Can you use the show parameter and list the categories you want to show? {exp:channel:category_archive ...


1

Your code should look like this (note the end of the opening channel:entries tag - you were missing a combination of quotes and curly braces): {exp:channel:entries channel="specials" orderby="date" category="{segment_3_category_id}"} <p>{entry_date format='%j%S %M %Y'}</p> <p>{specials_excerpt}</p> {/exp:channel:entries} I'...


1

You need to surround segment_3_category_id in parethesis and {} category="{segment_3_category_id}"


1

I'm not entirely sure what you mean by "that channel, and any other within its "blog" category are not available to create a collection", but Low Search Collections do not take categories or category groups into account. Collections are made per channel, regardless of category, category group, status, etc. In any case, I recommend upgrading to the latest ...


1

In general using categories for navigation on "static" sections can be frustrating. They weren't really designed with that in mind. In this case I'd try using a conditional inside the loop to look for the staff entry and then build a different link: {exp:channel:categories category_group="1" style="linear" show_empty="no"} <li> {...


1

I think the simplest and quickest solution if no one wrote a plug-in already would be: {exp:query sql="SELECT COUNT(entry_id) AS cat_count FROM exp_category_posts WHERE cat_id=1"}{cat_count}{/exp:query} Note: Untested. Obviously replace the cat_id value with the category ID you want to count entries for. :) If you don't have the category ID in the URL, ...


1

Actually, in the categories tag pair, inside exp:channel:entries, the parameter you want is the show_group. {exp:channel:entries status="open|Featured" channel="{channel}" category="{cat}" orderby="date" limit="10" paginate="bottom"} <article> <figure><img src="{image_upload}" alt="{title}" /></figure> ...


1

It's definitely possible to nest categories and use them in the URL structure. It does take some fiddling to get it to work and the deeper the nesting the more difficult it can be to template. That being said, there is usually an option to assign categories on import dependent on which module you use. I've seen an option for it in Solspace's importer module....


1

It seems the category url title's are not unique. Try making them unique and that should fix your issue as Low Seg2Cat queries the database and find the first match.


1

If you assign both category groups to your channel (Menu, Food Type) you should be able to use the categories as you want and display which items are part of the menu category regardless of their food or drink classification. If you'd like more flexibility, however, you might consider making your Menu a channel with entries themselves and using Playa to ...


1

You can write simple SQL for it: {exp:query sql="SELECT group_id, group_name FROM exp_category_groups WHERE site_id='1'"} <p> Category Group ID: {group_id} Category Group Name: {group_name} </p> {/exp:query}


Only top voted, non community-wiki answers of a minimum length are eligible