Community & Support

Panel Page Won't Display My Nodes

I am using panels and panels everywhere to create custom pages. I created a panel everywhere template for the default site layout. I also have a regular panel variant that has a selection rule for node:type "article" to display the articles in full view. Under content, I've put in "Node being displayed: title", Node being displayed: content."

I'm having a problem displaying my Article content on their own page. What I have is an announcements page that contains a view displaying the recent articles. This displays fine. However, when I click on the title of the article, it goes to the article page with blank content. I'm not sure why there is nothing displayed. I would love for people to be able to click on the article teaser on the announcements page and have it take them to the article in full page view.

Please help. I am new to Drupal and have been doing fairly well theming and structuring my site up until this snag.

Comments

Create a View using Contexts

Did you first create a View and then place that view in your panel? That way you have close control over what and how the display renders within a panel. Be careful to choose "Context" and not "Page" or "Block" when you are creating a View for use in Panels. You should only create a "Context" to place inside a Panel. If you need more Panels support, I recommend hanging out in the IRC channel Drupal-Oklahoma. You can connect online through webchat.freenode.net. Address complex questions to EclipseGc if needed. This is a developer who is active in Panels development and maintenance.

URL Alias

So I discovered that it has nothing to do with views. I have Panels node templates with selection rules for articles. When I manually put in a URL alias when creating an article my panels and panels everywhere display exactly how they should.

When I click on the title to display the full article node and the URL alias is either set with pathauto or default node/#, my panels and panels everywhere template is not rendered properly. Why is this and how can it be fixed?

IRC or Panels Issue Support Request

This is a different scenario, I don't know if this thread would be of help, but it comes to mind with your question about some code bug that was causing URL overrides in certain situations: http://drupal.org/node/1041906

Hang out in the Drupal-Oklahoma channel for a few days, as I mentioned above. You'll probably get your answer there with the panels experts. You could also file a support request in the Panels issue queue.

Or, what is wrong with just making sure that you always manually rewrite your URLs? Do you have a community of people posting who would not be aware to do that?