1

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:channel:categories
    channel="general_areas"
    style="nested"
}
{category_name}
{/exp:channel:categories}

I'm stumped.

5
  • This may be an easy one but have you ensured it's installed properly? What version of GWCC and EE are you running?
    – Ian Young
    Apr 19, 2013 at 20:37
  • It shows up in the installed Plugins list. Running v1.8.9 with EE 2.5.5.
    – mediapimp
    Apr 19, 2013 at 21:55
  • Very strange. I can't recreate this issue. It outputs fine for me every time and I have the same versions installed. Are you wrapping the tags in anything which could be causing a problem? Are you getting any errors returned?
    – Ian Young
    Apr 20, 2013 at 9:26
  • There is nothing in the template other than that tag. I just tried turning on template debugging but it does not display. Something fishy is going on here!
    – mediapimp
    Apr 20, 2013 at 14:20
  • Got the template debugger working. No errors but it does show that GWCode is return no results. I added {if no_results}No results{/if} to the tag and it does display "No results". I don't understand why GWCode Categories would show no results when the EE categories tag shows them just fine.
    – mediapimp
    Apr 20, 2013 at 14:30

1 Answer 1

1

Finally got it working. This is an MSM setup and it seems you must provide a site id to the tag.

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.