I wan't to limit the available view modes a user can choose from when creating a "Nodes in block" node. See attached screenshots.

Comments

peter törnstrand’s picture

StatusFileSize
new4.67 KB

And here is the patch.

swentel’s picture

Status: Active » Needs work

There's a problem with this patch for people who might want to upgrade since it removes the 'hide links' option from view modes - I agree, it's kind of old and crufty. So either this should go into a new branch or there should be an upgrade path for the 7.x-1.x branch.

peter törnstrand’s picture

Yes, that is a problem. How would you propose that upgrade path look like?

swentel’s picture

Well, somehow, I'd just keep that option, since it will now be possible to select it from the backend, there's an easy way to hide it on the node edit form.

peter törnstrand’s picture

Ok, I'll put it on my todo list and see if I can get something working.