Forums / Cotonti / Extensions / Password-protect Category [Solved]

tensh
#11658 2009-04-21 20:12
I mean a php statement in a plugin, something like:

IF category ID = (my variable) THEN { ... } or:
IF category NAME = (my variable) THEN { ... }

Just I don't know Cotonti functions that well.

Is it "$category['id']" or something...?

Ok, found it out eventually. problem solved.
This post was edited by tensh (2009-04-21 21:22, 15 years ago)