sometimes (?) views content pane displays do not show in panels-add-content modal > view panes but i can only see the classical views section (allowing me to just select the main display).

it seems that this happend when i set views > pane settings > argument input > from context.
for instance, the attached view shows up only if i change that to something else, like "no arguments" or "input on pane config"...

i've already tried to clear the cache, refresh, save and disable/re-enable the variant...

am i missing something?
please ask for any further info,
thanks a lot.

d7, views3 and my actual panels version is 7.x-3.3+41-dev.

CommentFileSizeAuthor
views.txt16.98 KBlorenx
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

lorenx’s picture

Issue summary: View changes
lorenx’s picture

wait... is it possibile that it happens when i set both 2 contextual filters as argument input > from context?

if i choose "from context" just for the first argument and "no argument" for the second one, the pane shows up as expected!

lorenx’s picture

i've found a workaround...

1. views:
i have a view with 2 contextual filters on nid. the first is needed to grab the current node while the second one is used on a relationship to "exclude" the current node (let's say it is of the same type of the nodes i'd like to list).
now, even if i should enable both as "argument input" ("from context" > "content id"), i just set the first one, leaving the second one with "no argument" (this allows me to see the view display in "view panes").

2. panels:
in the panel variant, i can now select my view display in "view panes" selecting "node being viewed" as the only argument.

3. views:
now, i go back to my view to enable the second contextual filter as "argument input" too, "from context" > "content id" as before (this removes my view display from "view panes" but i don't care cause i've already added it to my variant!)

4. panels:
finally, to complete the process, i go back to panels to make sure to have "node being viewed" as the second argument too.

this way allows me to do what i need to achieve but it seems there's something weird somewhere...
thanks for your attention.

kenorb’s picture

Status: Active » Fixed

As per #3

Status: Fixed » Closed (fixed)

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