#Can we hide the create new button on CMS, and Add task button?

11 messages · Page 1 of 1 (latest)

violet marsh
#

Can we hide the create new button on CMS, and Add task button?

sharp cloud
#

I don't know the answer here but would be interested to understand the use-case if you can share it?

wise dune
#

If it's a block config and you only want two entries, you can set the maxRows on the Block config

#

This could also be done with CSS but it's messier

sharp cloud
#

Ah, I see now. I thought the screenshot showed a collection listing screen but it's not.

  1. Make your "Todos" a global instead of a collection.
  2. As thisisnotchris says, you can set the maxRows on the block. If you're using an array field I believe you can set max items on that too.
violet marsh
#

I see thanks for the answers

violet marsh
#

How about for the collections

#

can we hide the

#

Create New?

finite sluice
#

Hi @violet marsh there isn't a built-in way to hide the create new button, you would need to apply custom css here to target this button and set display: none or similar

fleet inlet