Download & Extend

Allow admin to restrict the available view modes.

Project:Nodes In Block
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

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

AttachmentSize
Module settings21.04 KB
Node settings29.7 KB

Comments

#1

And here is the patch.

AttachmentSize
restrict_view_modes_1115232-1.patch 4.67 KB

#2

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.

#3

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

#4

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.

#5

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