Questions tagged [gwcode-categories]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

Show child categories without GW Code Categories

I'm trying to just show child categories of a specific parent and have used GW Code Categories in the past. I would just pass the category ID to GW Code and voila! Now that GW Code Categories is not ...
0
votes
1answer
35 views

Output unique categories

I am outputting a list of categories for entries which have prices using the code below, how can I filter it to only show unique categories? Right now it is showing multiple categories with the same ...
0
votes
1answer
84 views

How to give categories open/closed status?

Long story short, I have a situation where categories are treated like channel entries as far as generating lists of content on the front-end (using gwcode_categories inside channel entries.) I have a ...
0
votes
1answer
30 views

display category and child id’s separately for masonary filtering

I am using masonry filters to filter entries on a template using category ID’s to differentiate Filter buttons: <div class="masonry-filters"> <ul data-option-key="filter"> <li>&...
0
votes
1answer
55 views

Category Parent & Children Loop Layout Help

I'm trying to create a specific layout that makes use of categories and category children. I'm trying to use GW Code Categories but can't seem to make the layout work as I need it to. I basically ...
0
votes
0answers
89 views

GWCode Categories and 2.11.1?

On one of our new builds, we're getting an "This site can't be reached" error when using GWCode Categories with EE 2.11.1. Any reason for this? Haven't seen it with any other EE version. Here's the ...
0
votes
1answer
28 views

Show sub categories where location has jobs

I have a category group that's attached to several channels, including the jobs channel. This isn't the way I'd have configured this initially but never mind. I have 2 parent categories USA & ...
0
votes
2answers
41 views

GWCategories + Stash

I'm using GwCategories to get all subcategories from a certain parent category (in this case, main_cat_id). Within this list, I'm adding a nested list, training_list_{cat_id}. In my template, I can ...
0
votes
1answer
79 views

Working with multiple categories group, show not empty from only one category group

I am having trouble showing a list of map categories that are not empty but they must work in conjunction with the countries category group No children categories needed My categories setup Map ...
0
votes
1answer
85 views

Search Results with category based URLs

We have a site with 1 products channel and the URL's are constructed from the categories that the products fall into e.g. /template_group/category_parent/category_child/title This is all fine when ...
1
vote
1answer
98 views

Nested Tags Performance Improvements?

Is there a better (less server intensive therefore slow) way to retrieve entries based on a category setting i.e. this is what we currently use:- {exp:channel:categories channel="products" style="...
0
votes
0answers
42 views

Why is the content showing for all categories except the one named California?

In eight years of building EE sites I have never encountered this problem before. I am building a photo section on my site that lists photos by category. Only as a category has content does the name ...
0
votes
1answer
66 views

Right way to list entries within a category (that's specified within a URL)

Going through old templates and trying to clean up some stuff. One page I have is a category page. This displays a list of entries within a category that is specified within segment 3 of a url like ...
1
vote
2answers
106 views

GWCode Categories - No Results

Using GWCode Categories for the first time and it doesn't seem to be working at all. I've installed the plugin (can see it in add-ons / plugins) and running {exp:gwcode_categories}{/exp:...
0
votes
1answer
67 views

Stash cacheing a large nav

I have a site with a large megamenu which is made up of the following types of code: Setting category lists {exp:stash:set_list name="product_categories" parse_tags="yes" save="yes" ...
0
votes
1answer
90 views

GWcode CatMenu: Do Not Show Empty Children

How do I set GWcode CatMenu to not show child categories that have no entries assigned to them? The show_empty="no" parameter only seems to work for parent categories. Here's my code: {exp:...
0
votes
1answer
164 views

How to get category last child url for an entry

I'm trying to use GWcode Categories to output category last child url for an entry. Code looks like: {exp:channel:entries channel="products" category="{segment_2_category_id}" orderby="title" ...
2
votes
1answer
301 views

Conditional with variable gives php error

I'm using channel:categories and would like to show only child categories so I added the following conditional {if {parent_id} != 0}...{/if} but get php errors as soon as I add it to the template. I ...
0
votes
1answer
122 views

using GWCode Categories, trying to exclude a category group and only show cats assigned to entry_id

I'm using the tag below to display the categories of an entry using the entry_id. I'm using those categories to generate a form. I want to exclude specific category groups as they aren't needed in the ...
0
votes
1answer
127 views

Gwcode categories and entry id

I don't understand what's happening. I'm using the gwcode categories addon to get the category of and entry id, it works well when the entry id is present: {exp:gwcode_categories group_id="6" ...
1
vote
1answer
252 views

GWCode Categories and Stash set/get_list

I'm working on a template that outputs large tables of stockists. At the moment they're quite slow so I've reworked it a bit to use Stash set & get_list but they're still quite slow. For ...
0
votes
2answers
183 views

Displaying entries based on selected category

I am sure this is possible but not sure how to do this.. My site contains three 'Product' channels: HAIR, NAILS, BEAUTY. There is also three category groups, HAIR, NAILS, BEAUTY. (Each group relates ...
1
vote
1answer
331 views

display parent and children categories in a channel entry

I can't seem to find a way to display the parent and then the child category in a entry: {exp:channel:entries channel="products" limit="6" } <a href="{site_url}Products/detail/{categories}{...
0
votes
1answer
108 views

Listing related entries based on category

I want to list out related entries when viewing an entry, regardless of channel but according to the category of the entry. On the page where the entry is output, I output the entry in a traditional {...
0
votes
1answer
112 views

When I use CE Image inside Gwcode categories, it's not parsed

When I use Ce Image inside the Gwcode categories tags, it's not parsed. {exp:gwcode_categories group_id="5" cat_id="{segment_3_category_id}" depth="1|2|3" custom_fields="yes" style="linear" orderby="...
0
votes
1answer
122 views

Get category_id of entry before loop?

I want to list out all posts based on the category_id of the current entry. But how can I get the category_id before the loop? Basically, what I could do is this: {exp:channel:entries channel"...
0
votes
2answers
59 views

GWcode Categories and class_current is not added

My code for GWcode Categories add-on looks like: {exp:gwcode_categories group_id="4" cat_url_title="{segment_2}" last_only="yes" class="list-plain" class_current="current_category"} <a href="{path=...
0
votes
1answer
76 views

How do I reference a sub-category using {categories} tag pair?

I am using the {categories} tag pair to link entries to their relevant section, however, when I use the following code it does not display child categories. {exp:channel:entries channel="section" ...
0
votes
1answer
88 views

gwcode_catmenu - {cat_image} and image sizes/manipulations

We've got some categories being output using gwcode catmenu (http://gwcode.com/add-ons/gwcode-catmenu/documentation) but can't seem to find a way of outputting a certain image size (based on image ...
0
votes
1answer
54 views

GWcode Categories pulling only 2 categories within 12

Based on one of GWCode Categories examples I have created code below <li class="submenu-parent"> <a href="#">Product Type</a> <div class="submenu cf" id="submenu-1"> {exp:...
2
votes
1answer
63 views

Filtering playa and stash by categories

I am trying to filter a list by category, with each staff member listed beneath it. Here is my code: {exp:channel:entries channel="offices" entry_id="23" dynamic="no"} {office_staff} {exp:...
1
vote
1answer
320 views

Filtering Child Categories in Solspace Super Search

I've a working Super Search form, need to filter a category search result page {site_url}/event/results/search&category=sport/ where sport is a parent category. working form is... {!----------- ...
3
votes
1answer
248 views

GWCode Categories - Custom UL code

I'm struggling with this question again: Classes on list items with GWCode CategoriesClasses on list items with GWCode Categories I'm trying to generate an unordered list with custom classes on the ...
1
vote
1answer
179 views

GW Code Categories || Nested || 2 Category Groups

I'm having a bit of trouble getting my head around this issue and I'm probably over thinking it as well as just have spent too much time "in" it :) So i'm hoping someone can straighten this out for me....
2
votes
1answer
169 views

Nested categories without ul or other formatting

We have a 3 level category structure set up for a site. I would like to output these categories as JSON, while keeping the structure intact. As far as I can see, EE's native categories only allow ...
0
votes
1answer
72 views

Showing all categories on the same level as current entry

I'm trying to create a navigation with my categories, current the categories look like this: Products – Accessories – Backpacks – Clothing – – Mens – – Womans When on the main products page I ...
0
votes
1answer
868 views

displaying category tree accordion for 3 levels

I had a previous post here in which I was able to get a category tree working for 2 levels, however I'm having problems getting to work for a third level. I had edited the original post but never ...
0
votes
1answer
615 views

Displaying a category tree accordion with GWCode Categories & Bootstrap

Edited (now trying to get this to work for a 3rd level of categories) I'm trying to get an accordion menu to work with bootstrap and GWCODE Categories. The problem I'm having is determining when a ...
1
vote
2answers
140 views

Low Variables, Playa, GWCode Categories, Entry IDs, and Categories

I need the list of category names, but only the categories that have been tagged in entries that are related (a Playa relationship) to another entry (I know, it's getting down to snow-fortress ...
0
votes
1answer
85 views

Categories show only childrem

is there a trick to only showing ONLY the children of a certain category? {exp:gwcode_catmenu show="5" cat_id="5"} <a href="{path='catmenu-demo/example1/{complete_path}'}"{cat_name}</a> {/...
0
votes
1answer
158 views

Compare a get variable with a path of categories

I have a series of if:elseif statements that compare $_GET Variables using "{exp:parameters:get name='price'}"=="<?php echo $myVariableHere; ?>". This is filtering out some of the entries so ...
1
vote
1answer
158 views

GWcode Categories - show these three cats AND their children

I'm using GWcode Categories and I'm trying to figure out how to show, for example, 3 specific categories AND said categories children as well. I know of the show param though, it appears this needs to ...
0
votes
1answer
119 views

GW Code Categories: Variables Not Correct Inside {depthX_end} Tags

I want to output a list of Category A's child categories, then at the end of that list, display a link to Category A itself (.review): <h1>Category A</h1> <ul class="readings"> ...
0
votes
1answer
287 views

Need some help with GWCode Categories, url segments, and conditionals

I have a products section where I give each product group a main category. Initially I had it setup where each product had a main category and a sub category. GWCode generated a side nav from the ...
1
vote
1answer
114 views

Output Code Once if Conditional is True for One or More Entries in a Group

I'm displaying a list of categories, and I want to add a little "new" icon next to the category name if one or more entries in that category have been created in the last day. But I can't figure out ...
0
votes
2answers
188 views

Limiting GWcode categories based one an additional category

I am designing an EE site for a board game cafe which sells games online and also has a games library in-store for playing. The client wants to enter the game information only once into the shop ...
1
vote
1answer
108 views

GWCode Categories displays nothing

I can't get a simple GWCode Categories tag to display anything. {exp:gwcode_categories channel="general_areas"} {cat_name} {/exp:gwcode_categories} But this displays the list just fine: {exp:...
1
vote
1answer
251 views

category_heading and GWcode Categories

I don't seem to be able to use ExpressionEngine's native {exp:channel:category_heading} feature in combination with GWcode Categories. I would like to display a simple category results page which ...
1
vote
1answer
131 views

Safecracker and GWCODE Categories Checkboxes not staying checked

Here is what I am trying to do. I am using Safecracker to do the add/edit posting, but when the user click on a checkbox, then go to edit the posting, the check box is not there. I am using Gwcode ...
1
vote
1answer
154 views

Displaying entries listed within a category, strange!

I have a strange issue, that I am hoping is something simple, and I'm just missing it. I have two channels, that have different sets of categories. In my first channel, I display what child cat it ...