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

Letharion’s picture

Category: support » feature
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.

merlinofchaos’s picture

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.

kingfisher64’s picture

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.

merlinofchaos’s picture

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.

kingfisher64’s picture

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?

merlinofchaos’s picture

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.

merlinofchaos’s picture

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.

kingfisher64’s picture

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

Waverlymain1’s picture

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

jacquelynfisher’s picture

@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

kopeboy’s picture

Issue summary: View changes
Status: Postponed » Active

I am still very interested in this.

I think it is necessary to use Panels' In Place Editor at it's full potential.

I tried using what Merlin advised and other combinations, but they aren't working very well:

  • Panel nodes,
  • Mini panels,
  • Fieldable Panel Panes,
  • Entity references
  • View content panes.

I must admit the best option for now it's views, but I am concerned about performance and UI.
For example, when someone wants to show specific selected nodes, he won't have their title displayed in the Pane administrative title.

Are there any new solutions I am not aware of?

This is my use case:
Node Issue (a newspaper issue, let's simplify to a print-like front page)
- Node Article (to be edited separately by different authors, but placed in the Issue by redactors with Panels IPE)
- optional Sections composing the Issue front page managed by specific redactors, with articles placed inside each of them with IPE