Is there a way to turn off live preview for a pane?

Use case:
Create a view content type with a format like timelinemap that might not be working correctly or the auto preview in view will not support that format
Create a content pane
Leave the item "Views panes" as default

When I goto the pane to try to add anything under "Views pane", the wheel continues to spin.

If I separate out the problem content pane, everything is fine.

Thanks.

Comments

merlinofchaos’s picture

The live preview only exists, that I know of, as a modification in Panopoly. It's not actually in Panels yet. Are you using Panopoly to get this?

socialnicheguru’s picture

Project: Panels » Panopoly
Version: 7.x-3.x-dev » 7.x-1.x-dev
Category: support » bug

changing to appropriate project

populist’s picture

Status: Active » Postponed (maintainer needs more info)

There is currently no way to turn off the live preview, but that could be a good feature to use. Can you give me some more information on what you are trying to do in your custom pane? While the preview is a bit of trickery, it isn't doing anything more complicated than calling the render function of your pane.

populist’s picture

Actually, now that I think about it. You can probably just disable Panopoly Magic to disable the live preview. I haven't tried that before, but would be curious if that works.

populist’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I am going to close this issue, since the live preview can be turned off through disabling Panopoly Magic. It also should be the case that any pane should be able to render in the live preview, since its no different than being rendered on a main page (provided the arguments/contexts are properly handled.)

socialnicheguru’s picture

Title: Way to turn off live preview when selecting content for a pane? » Way to turn off live preview when selecting content for a pane? If a view pane has a live preview error, no panes are available
Category: bug » feature
Status: Closed (works as designed) » Active

I am not sure if this is a feature request or bug

Live preview render errors:
I create a view content pane that has a problem and its live preview causes an error
I then try to place it in a panel or mini panel
when I open up the content selector and click on "Views pane" or whatever category the view might be in, the wheel will just spin. I can't select any panels.

Feature request:
While this might be a problem with the view, live preview should check and simply not render it.

There is other goodness in panoply magic and I would hate to have to loose it just because of this.

populist’s picture

Status: Active » Fixed

Thanks much for this feedback and I just rolled in the ability to optionally enable/disable the live preview! This is probably something you will need to wait for Panopoly Beta 5 to get, but that should be relatively soon. If you need this now, here is the code I used - http://drupalcode.org/project/panopoly_magic.git/commitdiff/819f6e4

socialnicheguru’s picture

I downloaded the latest dev version.

where is the setting page where the checkbox is?

also does this work for views too?

Status: Fixed » Closed (fixed)

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

mcrittenden’s picture

Component: Code » Admin
Issue summary: View changes

FYI all, the setting for this is at /admin/panopoly/settings/panopoly_magic