Loving this module - such a more logical flow!
It would be great to either have a Node Pane admin UI or add a checkbox to the content type UI which limits which of the content types are displayed on the Content tab.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | node_pane-7.1-1.x-dev-v3.diff | 11.21 KB | kriboogh |
Comments
Comment #1
sokrplare commentedIt would be a bonus feature if some of the node content types that are used for Node Pane were hidden from the general Content > Add content flow.
For example, we have the Link List content type which is only ever used in Panels.
I wonder if expanding the permission ": Create new content" could be expanded into "Create new content" and "Create new node pane content". Hmmm...might get messy using permissions actually. Probably better to just alter the menu.
Comment #2
kriboogh commentedThe provided patch adds an extra tab "Node pane" to each content type edit form. It allows you to specifiy if the content type should be used in the content selection dialog. The dialog now contains a "Existing " and "New " per content type. Each "Existing " can be coupled with its own view.
You can also specify if you just want to use the "Existing" or the "New" functions.
Also if you don"t have permission to create a certain content type, that type's "New
Comment #3
eswiderski commentedAwesome module out of the box!
After selecting/deselecting the "Use content type in panels" in the node edit form, it doesn't appear to be saving for me. When I go back to edit the form, it's reverted back to unchecked.
Comment #4
kriboogh commentedThis should fix that.
Comment #5
eswiderski commentedexcellent #4 worked great. thanks!
Comment #6
eswiderski commentedoops, spoke too soon. the selections are now saved, however, the view does not. no matter what view is selected, after the node edit form is saved, it reverts back the first view in the list.
Comment #7
kriboogh commentedWe didn't encounter the problem you mentioned though. Sorry I don't have time at the moment to look at this further.
Comment #8
kriboogh commentedThere was a copy/paste error, in node_pane.module on line 248 change:
'#default_value' => $settings['select_in_panels']
into:
'#default_value' => $settings['select_in_panels_view']
(also on line 156, change $language into $language->language this will fix an error when saving a new node from the IPE)
Il try to make a patch file later.
Comment #9
kriboogh commentedPatched against the latest dev version.