Share » Forums » Setup & design » How can I limit count of content...

How can I limit count of content object per user?

How can I limit count of content object per user?

Monday 20 March 2006 10:26:19 am - 3 replies

Author Message

Kristof Coomans

Monday 20 March 2006 11:57:28 am

This isn't possible at the moment.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Łukasz Serwatka

Monday 20 March 2006 12:13:30 pm

I'm not sure how complex solution do you need but if you want to limit only to count but not to count per class you can extend user class with new attribute. Then set default count for all users. In tpl fetch count (see on-line doc for more info) of created objects in the system check that count with with current logged in user attribute then show create input button or hide it. This can work without special operators. If you need something more e.g count per class or let's say limit for whole user group, then you will need to do some PHP coding, since like Kristof wrote this is not possible at the moment.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Jan Komárek

Thursday 22 April 2010 5:56:25 pm

Hello, any change on this? I would like to limit count of photos, but I dont want to use attributtes, because of 50 image attributes dont look as a good solution for me.

If nothing change in this casem as I am expectiong. Can you please give me some direction about php coding which will be necesary?

Thank you

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu