Download & Extend

Change Existing Node selection option

Project:Panels
Version:7.x-3.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

Right now if I want to put an existing node in a panel pane, I have to use the autocomplete and either remember the name of the node or the nid. Is it possible to change the node selection so it is more like choosing one of the other options such as a mini-panel where you see all the possible options. I have a few content types that are designed to only be displayed on panel panes and I would love it if there was a way for a list to come up of nodes of just those node types.

Please let me know if I'm being clear. Thanks.

Comments

#1

Category:support request» feature request
Status:active» postponed

I understand what you want to do, there's nothing in Panels right now that can do it.
Possibly integrating with linkit could be of interest.
It's also possible that you should replace your content types entirely with Fieldable panel panes.

I'm marking this postponed, as I don't get the impression you intend to work on a patch yourself.

#2

You are being clear but it's a lot more work than it sounds like.

People occasionally implement content types that use a view to narrow down selection. This is the kind of thing that references module does, in fact, and it's a great idea, but not something that anyone has put any time into in Panels. It's not the easiest thing to do; it would require a volunteer to work on it.

That said it would be a really useful thing to do.

#3

This would be great. If i've got hundreds of nodes remembering the title of each to place content onto the page can be difficult.

#4

Remember that you can always short circuit this by using a view.

1) Create a view. Give it a content pane display.
2) In the content pane display "allowed" settings, select "use exposed filters as pane config".
3) Set up your exposed filters in any way you need that improves the selection of the content.

Then the view uses those filters to find exactly which piece of content to use.

Keep in mind that if you use expensive filters, you'll want to cache that view. However, because of the way it's designed, using time based caching with a *really* long cache time is completely feasible.

#5

Don't always use views though. Sometimes it's just a plain Jane article. But i'll keep that in mind though Merlin it's a very good idea.

Out of interest how would you do it if you were to implement the thread request? Obviously there needs to be a filter as hundreds of nodes couldn't feasibly be shown. Would it be by content type, taxonomy term?

#6

Sure, but what I'm suggesting is that your view can return a single article, and give you exposed filters that allow to select just the article you need.

Another common solution is the use of a fieldable panel pane bundle that has an entity reference, and use that entity reference to select the article you need. Entity reference selectors can be powerful. The FAPE module can allow you to easily edit just that field.

#7

If I were to implement it, I would only do it if the two existing solutions aren't enough, and I would probably create a custom content type (rather than the existing node content type) that provided the precise selectors I need for that use case. Perhaps simply allowing selection from a view turned into a select box, or something else.

#8

Ah, I see. Will try that Merlin that sounds like it achieves what i'm after. Thank you.

#9

I posted this under support and someone was nice enough to link me this page.

After reading the information above I'm not sure if the question I have was answered or not, I kinda got lost in the vocabulary, lol..

I am very new to Drupal and looks or seems like I might have installed Panels a couple days to late. I have installed Panels and it seems like it is all working great for any new pages I create.

My question is this, can I use Panels to edit the layout of my existing pages that I have already created prior to installing Panels ?

If this is possible is there a an article posted somewhere that explains how to do this ?

Thank You
Stay @ Home Dad
Drupal 7.18

#10

@Waverlymain1, it sounds like what you are looking for is something along the lines of Display Suite. With that module, you can customize the content type forms and how the content pages are displayed.

http://drupal.org/project/ds

nobody click here