Closed (fixed)
Project:
Panels
Version:
5.x-2.0-alpha4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
14 Jun 2007 at 13:00 UTC
Updated:
6 Jun 2010 at 10:18 UTC
Hi,
I've created 3 page views as Tabs ('Provide Menu as Tab').
How can I place them, as tabs, in a panel?
Cheers,
Amitai
Comments
Comment #1
amitaibuI've advanced a little.
My panel path = Style
My problem now is that I have $arg in my Views(e.g. Style/$arg/Main) - so when I click on the Tab i'm redirected out of the panels into the Views.
Comment #2
amitaibuFound a solution (with help of Michelle in the IRC :)
First what I needed:
Panel path = Style
In panel several Views in tabs. The views should get an argument.
Style/3 - means the views should show relevant content according to NID=3.
so:
* Enable in JStools the Tabs module.
* Enter this snippet in Panels, or in a node:
Remember to:
1. change the name of the views on top - $view1 = views_get_view('Style_View');
2. the tab names - "#title' => t('Review'),"
3. arg(1) - means the first argument in the URL
4. enjoy
5. keep visiting the IRC...
Comment #3
(not verified) commentedComment #4
kompressaur commentedHi i am trying to achieve this with the latest version of panels and ctools. I have finally worked out after 3 years how to make Views display in tabs. I have my frontpage here
http://spat.tv
the default panel tab is Frontpage and it has a path of /home. My 2nd view page is Recent Posts and it has a tab menu ad a path of /home/all.
when i click Recent Posts i lose the panel context. I cannot work out how to make Recent Posts to be in a panel. Will i be needing Panels tab style to do this?
thanks