I am trying to display the status message in a pane, but it will not render? I forgot to mention that I have a Rule that says to display a message when the node is viewed when I disable page manager override the status message does output.

Comments

Anonymous’s picture

Similar problem here, when you clear your caches you will see the "Cache cleared" message appear on the same page were you were expecting the message from rules to be shown.

To recreate:

create a page in pagemanager overriding a node/%node
create a rule to show a message when the content is being viewed
visit the page and no message is being shown
deactivate the page created from pagemanager
visit the page and the message is being shown

To add to the issue... if you then use a view to load additional nodes through a panel pane those are being picked up as content being viewed and they will show the message for each node in the output of the content pane.

otcassetmgmt’s picture

Thanks for the information I will try it next week

otcassetmgmt’s picture

Is there a way to display a message when overriding the node w/ Page Manager?

Anonymous’s picture

Assigned: otcassetmgmt » Unassigned

Anybody been able to get this working yet?
Or if not what would be the best way to start debugging this issue, where to start?

otcassetmgmt’s picture

Assigned: Unassigned » otcassetmgmt
otcassetmgmt’s picture

Priority: Normal » Critical
Anonymous’s picture

Assigned: otcassetmgmt » Unassigned

otcassetmgmt,

You might want to leave the issue unassigned, that way the maintainers know it's an open issue.
Assigning it to yourself means you are working on the solution.

otcassetmgmt’s picture

Thank you

otcassetmgmt’s picture

As far as I can tell the status message is a special html output? The reason it will not display through page manager and panels is because it can not be loaded as a context? Am I corect? And if so how can I load the messages I have been running around in circles on this problem for a very long time can anyone please help??

merlinofchaos’s picture

The status messages are special, but it has nothing to do with context.

They're stored in the session; when they are rendered, they are removed from the session. Typically they are rendered only in the page.tpl.php. It's possible to have them render in such a way that they are discarded, and sometimes status messages actually get rendered on the *next* page view if they are set after they are rendered.

It's also possible that it's simpler than this, and that the rule you're using doesn't get invoked, or maybe it doesn't get invoked in time, and that it doesn't actually have anything to do with the message itself, and has more to do with rules not being invoked when using the node override. I don't know much about rules there, though, so that's just purely conjecture.

otcassetmgmt’s picture

Assigned: Unassigned » otcassetmgmt

Thank you... I have been teaching myself Drupal for just over a year so my experiance is low, but I am fairly confedent this info will help me to figure out this problem... once again thank you for the help.

otcassetmgmt’s picture

Status: Active » Fixed

I finally made it work! Turns if you simply load the rendered node into a pane the message will print out where it is assigned and set simple cache.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

2

garamani’s picture

Issue summary: View changes

@ otcassetmgmt:
I didn't understand, would you please explain exactly how you fixed the problem?

otcassetmgmt’s picture

Be sure that you bring in the rendered node into a pane (any pane) after that load from the page elements the status messages into the same or another pane you if you want it to display.

Hope this helps I am self taught and it took me a long time to figure this out.

otcassetmgmt’s picture

Status: Closed (fixed) » Active
najamfzl’s picture

Its old post, but since it's open, let me share my solution. Just render the node like orcassetmgmt suggested then add "element-hidden" class to that pane so that it is hidden (what's the point in rendering the node and using panel layouts side by side). I have field permissions ON so even my node is rendered, only allowed fields are outputted in html.

It's working fine though I hope if someone can post a clean solution to this.

MustangGB’s picture

Category: Bug report » Support request
Status: Active » Closed (outdated)