Plugin

Developer
Supported

EE 1
EE 2
Category ID

Back to this add-on's main page
View Other Add-ons From Laisvunas

     

You must be logged in to post.

No output

General

Lee
Lee

Using the latest version of EE2, the {category_id} tag below isn’t outputting anything

{exp:category_id category_group=“3” category_url_title=”{segment_4}” parse=“inward”}

{category_id}

{exp:channel:entries channel=“bedroom” category=”{category_id}” status=“open|closed|featured|sale”}
{title}<br>
{/exp:channel:entries}
{/exp:category_id}

I’m trying to use the category_id of the currently displayed entry to have the channel:entries tag output all entries in the same category group and category.

Have I gone wrong somewhere?

Cheers
Lee

Lee
# 1
Lee

Taking it down to the basics and I still get no output for {category_id}

{exp:category_id category_group=“3” category_url_title=”{segment_4}”}
{category_id}
{/exp:category_id}

Lee
# 2
Lee

I take it all back - the dreaded typo!