Hello

I have a Panel variant for handling products.
In it i'm using various Views which handle their content based on the nid argument passed on to them by Panels.

Now i want to add some of these Views inside Quicktabs for the sake of tabs... then add this QuickTab inside the Panel, in the place where the Views used to be.

My question:
How to i pass the NID argument, from the current node being viewed, from Quicktabs to the Views?

i'm using Clean URLs, Pathauto, Pathologic and Global Redirect to change URLs from "node/15" to "content/hello-world", so i think URL arguments won't work...

how can i resolve this?
thanks

Comments

pasqualle’s picture

url argument works. The system path is known and used even when path aliasing is enabled.
for "content/hello-world" the arg() = array(0 => 'node', 1 => '15').

so to pass the node nid from QT to View, in QT edit page set %1 as view argument

lpalgarvio’s picture

Status: Active » Closed (works as designed)

works great, thanks :)

madjr’s picture

phew! was a bit hard to find this thread, was going nuts ;O

"%1" fixed my similar issue and seems to work with ajax too thanks :)

drupalvino’s picture

Hi,
I am using drupal 7. In my case im using quicktabs inside the view in view format.
How can I pass the nid to the quicktabs? There is no option inside the quicktabs settings.

How to slove this problem?