121 Posts
deralex
7 years ago
3
Topic

Hi,

how can I disable rendering a whole item (not only a field) by using beforrrender field?

Alex

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
0
Level 1

Unfortunately there is no event that would allow manipulation of items list

6 years ago
1
Level 1

Hello there,

Assuming you are trying to not let a item be rendered in a list you could try to use beforerender field and try: 

if (something){

unset($fields);

}

I did not test it. Maybe It works.

Good luck

4229 Posts
Kadministrator
6 years ago
0
Level 2

He is talking abut items, not fields. You can manipulate fields inside each item, but you can't remove the whole item as there is no event that would fire at the right time.

Get a VIP membership