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.

Comments

sokrplare’s picture

It 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.

kriboogh’s picture

Issue summary: View changes
StatusFileSize
new9.98 KB

The 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

eswiderski’s picture

Awesome 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.

kriboogh’s picture

StatusFileSize
new11.37 KB

This should fix that.

eswiderski’s picture

excellent #4 worked great. thanks!

eswiderski’s picture

oops, 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.

kriboogh’s picture

We didn't encounter the problem you mentioned though. Sorry I don't have time at the moment to look at this further.

kriboogh’s picture

There 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.

kriboogh’s picture

StatusFileSize
new11.21 KB

Patched against the latest dev version.