Custom selector for "Add content" area on panel layout?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
overtune's picture

Is there any way to create a "custom selector" for the "Add content" area in Panels?
E.g. You can choose "Existing node", but I would want to create "Add an article". That would work pretty much as "Existing node" but it only displays nodes with the node-type "Article".
Or if I have a node type called "Images", then it would be really great to have a link "Add an image", that displays a list of all images (or use an autocomplete field)...

Is there any way to do this? Using a view to filter out the content, or code a custom "selector"?

I would really appreciate any form of feedbeck/help on this. Even if you don't have time for a full eplanation, maybe you just can give me some clue where to look.

Big thanks!

Comments

We're vaguely looking at the

yautja_cetanu's picture

We're vaguely looking at the moment so would be interested to see what people think. At the moment we're finding that panels is brilliant for site builders but not great for end-users.

Boxes in Drupal 6 and with Atrium did something more similar to what we're looking for: http://vimeo.com/9182774 (Don't think its quite what we're looking for with "add an article" though).

I'll admit that I'm pretty new to this and don't fully understand panels so it may be that there are easy ways for developers to code a custom "selector" but from the research I have done I'm shying away from panels. You can see a full write up of what I've looked into here: http://drupal.org/node/1337534

Again that research is not quite on topic but I came to it after asking this exact question for a site we're developing at the moment.

That's some really intresting

overtune's picture

That's some really intresting stuff! And I totally agree with you, Panels may be everything you need, but for a end-user it's just to complicated.
I know that you can disable a bunch of stuff for the "Add content" dialog. But just an autocomplete searchfield for existing nodes isn't good enough. It would be really awsome if you could use a view list (with filter and perhaps search) to select node to the Panel.

I will look into your suggestions in your article in the meantime.

Thanks!

Using a node "node/add/article" in a Panel

mathiasmg's picture

I'm creating a section in my site which allows to user with specific permissions to add/edit/delete content.

I'm slicing my page into two sections (one with a menu and the other with the add/edit/delete options)... The edit/delete are quite easy to perform with a view, however trying to add a node like "node/add/article" doesn't work as Panels does not recognize this url...

Thank you for your help.