I try to create tabbed panel pages, but i fail. I use Panels 3 - beta 2

Pls some to post step by step guide how to create tabbed panels pages

Comments

merlinofchaos’s picture

Project: Panels » Panels Tabs
Version: 6.x-3.0-beta2 » 6.x-1.x-dev
Component: Panel pages » Code
Category: feature » support

Panels does not come with any inherent ability to create tabbed pages. The panels tabs module used to do it but I doubt it has been kept up to Panels 3.

dawehner’s picture

Perhaps he means local tasks.

Anyway if he want to create such tabs,

you have to set "Display settings" and choose "Display Style" Tabs.

mrfelton’s picture

As far as I can tell, this module hasn't been updated to work with the latest views beta. I don't see any additional layouts in the layout tab, like it says I should in the readme. Someone please correct me if I'm wrong.

I think it now needs to be using hook_ctools_plugin_directory() to register the layout plugin. I have written several layouts of my own for the latest panels beta, and that's what I had to do.

dawehner’s picture

Category: support » task

mh This module does not provide a layout it uses a panels region style.

I Think the documentation has to be updated.

sdk’s picture

Using the newest version of tabs, panels_tabs, chaos tools and panels, creating tabs works the following:

* in the content section of the panel page administration you'll find in the upper left corner a tool icon. Click it and choose Region-style: tabs.
* now you can add tabs by clicking the tool icon in the right upper corner and add content.

Hope this helps anybody out.

Cheers

sdk

dawehner’s picture

@sdk

Do you want to create a tutorial how to use it? This would be awesome.

sdk’s picture

Yes, sure, give me a couple of days though.

Best wishes
sdk

dawehner’s picture

awesome!

jrabeemer’s picture

What about menu tabs in panels? I know about region-style tabs.

dawehner’s picture

Do you mean local tasks?

What do you need beside region-style tabs?

friolator’s picture

@deriene: What we would like, but have been unable to accomplish, is to have the system-generated tabs that normally appear within page.tpl.php - $tabs - to live inside of a panel. there are several use-cases for this, but the one thing they all have in common is that where they are normally, outside of the Panels area, doesn't fit with our design, which uses Panels for the basic structure and layout of the site.

We'd love to be able to have, for example, the View/Edit tabs appear to a user when they're on their user profile page. Those same tabs would be invisible to everyone else. This would be easy to do within Panels using visibility settings. Short of being able to use the system-generated tabs inside of Panels, we've been looking for a solution to mimic this.

I realize this is probably out of scope for this module, but that's what we've been wanting...

chitownguy’s picture

@friolator & @dereine: I'm also looking for this same solution, and suggestions for other modules or workarounds that perform similarly would be extremely helpful.

friolator’s picture

we ditched panels for pages where we need tabs. now we have to maintain parallel versions of certain pages, some with the layout in panels, and some in straight drupal template files. it's a drag, but we didn't have time or resources to find a solution within panels and still launch our site within deadline.

smoothify’s picture

Status: Active » Closed (won't fix)

Marking as won't fix as this is outside of the scope of panels_tabs.

You might take a look at Panels Everywhere to see if it does what you are looking for.

tacituseu’s picture

@chitowngu, friolator, dereine: please have a look at http://drupal.org/node/807754#comment-4042588

summit’s picture

Status: Closed (won't fix) » Active

Set this to active, because this issue is about how to create a tabbed panel page.
I tried post #5 and http://groups.drupal.org/node/18882

* in the content section of the panel page administration you'll find in the upper left corner a tool icon. Click it and choose Region-style: tabs.
* now you can add tabs by clicking the tool icon in the right upper corner and add content.

I have installed panels 3.9, ctools 1.8, tabs 6.x-1.x-dev 2011-Feb-25 and panels_tabs 6.x-1.x-dev 2011-Feb-25.

I do not see a Region-style: tabs within my content-section /tool icon area like there are Activity, CTools Examples, Menu's, Mini panel, Miscellaneous, Page elements, View panes, Views and Widgets.

How to proceed please?
greetings, Martijn

summit’s picture

Hi, I tried with Ctools 6.x-1.x-dev 2011-Mrt-10 and Panels 6.x-3.x-dev 2011-Mrt-11.
But still no go. Anyone can help please?

EDIT: I got it fixed!. Instead of going to Add Content on the tool icon, you need to change the Style on the tool icon. The style Tabs is now added to this list, so you can select this.

I had to change the panels_tabs.js to get all tabs on one line. Original was:

            .css('width', (tabTextLengths[i] / totalTabTextLength * 100 ) +'%')

to:

            .css('width', (tabTextLengths[i] / totalTabTextLength * 100 -2) +'%')

greetings, Martijn

asb’s picture

Would anyone mind to explain what is to be expected after installing the module? I find the README.TXT rather vage. It reads:

Installation
...
3) Go to the "Layout settings" tab of the Panels page, Mini panel, ... on
which you want to apply this style.

So what is supposed to show up here? New layout categories, new generators...?

planettucker’s picture

I hope my response isn't outdated and can be helpful. I had the same frustration when I installed this module, didn't know where to go.

Go to:

Structure -> Pages -> Select the page/variant in question -> Content -> Click the gear in the upper left of the PANE (not the content placed inside of it, which you'll know because its editing gear is on the upper right) -> You'll see 'Style' and a link below that reads 'change'. -> Click the link named 'Change' and you'll see a radio button list of different layout options. -> Look for the one that says 'Tabs' and select.

Now any content you place in that pane will produce a tab in the order you entered it.

Hope that helps.

damban’s picture

Almost very helpful, except I do not have a Tabs checkbox for the Style settings for a Pane. I'm using Panels 7.3-3.2

maxchock’s picture

comment 19 is helpful. I got it..

adam_b’s picture

I had the same problem as damban, but found the problem. "Administer Panels styles" is *not* enabled by default for administrators, unlike every other module/permission combination I've found in the past.

tomrishworth’s picture

I also had the same problem as damban, with no tabs checkbox displaying. Updating to the latest version of ctools fixed this

selwynpolit’s picture

I wrote up how to create tabbed panel pages here. I couldn't find other references but sometimes google is not my friend. Hopefully this saves someone some time.

Selwyn

trotsak’s picture

Issue summary: View changes

@selwynpolit, it saves my time. thank you!!