RM 1.1 Show categories only if resources are present

reddy ink

Active member

I am newly building RM with resources. I have about 40 categories but resources only in 12 so far. I would like to show only those 12 and as resources get added to other categories, those categories will automatically show.

Basically, need a conditional statement

show Category list if resource is present.

Greatly appreciate your help!


XenForo moderator
Staff member
You can try editing the resource_index template and add a condition for $_category.resource_count.