Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [panels]

Using the Panels module, authorized users can create specific layouts and theme them easily.

1
vote
2answers
10 views

How do I add a minipanel to a panel page?

In D7 I've created a new minipanel and would like to add it to a panel page. However, when I go to add it I cannot find it. It's not under the category I've set it in and it's not under the Mini ...
0
votes
2answers
24 views

Adjusting Height of Panel Columns using CSS [closed]

I am using panel-2col-brick to make a 2 x 2 information block. The HTML structure of the page is as follows <div class="panel-display panel-2col-bricks clearfix"> <div class="panel-panel ...
1
vote
1answer
19 views

How to print H1 instead of H2 for Panel

This is the template currently being used: panels-pane.tpl.php <?php if ($pane_prefix): ?> <?php print $pane_prefix; ?> <?php endif; ?> <div class="<?php print $classes; ?&...
0
votes
0answers
12 views

How to add a new region to the panel template dynamically?

Is there a way to add any number of regions to panels through IPE(in place editor) or even by defining the number of rows in the layout settings page explicitly? I've searched many panels modules and ...
0
votes
0answers
5 views

How to synchronize the new panes of a content type in panelizer with the existing nodes?

I have a content type which uses panelizer. I have placed different panes in different regions. Everything is working. I have existing nodes with the same settings. Now I added a anew pane to the ...
0
votes
0answers
7 views

Harmonizing output from Views, Views Content Panes, Panels, and Panelizer in 7.x

I'm having some trouble harmonizing Views, Views Content Panes (ctools), and Panels with Panelizer on Drupal 7. I have a working prototype, but the problem is that I have to repeat the field output ...
0
votes
0answers
16 views

How to get field values into Twig of content type that's default view is Panels

I am having some fields attached to a content type. I used Panels and panelizer for default view. I am able to theme the whole page with panelizer-view-node--node--panels.html.twig (Panels is my ...
0
votes
1answer
23 views

How do I make a panel visibility rule work when the element to check for has to be not set or empty?

I am using Drupal 7, panels and page manager modules. In page manager I created variants on the node template for showing a particular type of node in a different fashion to different user roles. My ...
2
votes
0answers
19 views

View contextual filter not working inside Panels

I have a view with a contextual filter of type "Raw value from URL". This block view works fine in the page footer. But when added inside Panels & Page Manager, the view stops working. Hence it ...
0
votes
1answer
29 views

How we can have layout options at time of node creation just like we select in panels and display suite

How we can add layout selection option of display suite or panel during node creation. Any solution available. The layout selection should be at the time of node selection.
1
vote
1answer
8 views

Can't edit Panels content

When trying to change the Panel content design, there are no controls displayed as shown: This is happening only when using Charts in my Panel page. I got this error chrome inspector console: ...
0
votes
0answers
19 views

Making a panels element visible depending on comparison of username with a multi-value field of viewed user?

I need to set a visibility rule (as PHP Code) in Panels similar to the one below. This one shows the panels element when the field_madepurchase of the user is bigger than 1. global $user; $user_data =...
0
votes
1answer
243 views

Twig get field value from panel page

I am trying to get the value of a field that is displayed in a panel page. I might be going about this all wrong, because I'm still getting used to Drupal 8. I want to display book information, ...
0
votes
1answer
31 views

How to create a view block of one content type filtered by author?

I have a Book Club website which has a page created from a view where different members can add their recommendations. I want to create a block view which can be inserted into a Panel Page for each ...
0
votes
0answers
15 views

Page manage variants selection path

I am unable to select variants based on conditions in a custom page built with page manager. I have 2 variants - "Event - recent" & "Events list page". My page looks like this: So basically, the ...
0
votes
0answers
23 views

Render node in page manager variant

In D7 we could render a node in a particular "page manager" variant by the following module_load_include('inc', 'page_manager', 'plugins/tasks/node_view'); return page_manager_node_view_page($node); ...
0
votes
0answers
15 views

Page panelizer and view block with contextual filter

I have a node type "page" with panelizer display. I want to add in a page a view block with contextual filter. (reference to a term) I don't know how to do to add my parameter in my page url. Can ...
0
votes
0answers
13 views

Why do fields disappear when I panelize the display?

I'm using Drupal 8. On a content type I click on Manage display. I can then choose to panelize the view mode. When I panelize the view mode, the field rows disappear and all I can see are the layout ...
0
votes
0answers
66 views

How to pass an argument from panel page URL to Views block?

I have created a panel page in Drupal 8. I also created a Views block with contextual filter. Then I have added the Views block to the panel. How can I pass an argument to the Views block from the ...
1
vote
1answer
20 views

Concatenation with %keyword in mini-panels

Someone posted another question How does one concatenate fields in title field in Panels (Pages)? but its not working for me. I need to concatenate a custom text as prefix with %node:field_city_title ...
0
votes
0answers
13 views

How to create a new row inside panel?

I have a panel layout.I want to add a new row like "Bottom" above Left3 row.My layout for this panel is in the screenshot.Can anyone helps me to solve this issue?
0
votes
0answers
10 views

Panels 8.x-4.3 Custom Layout Types Not Displaying

I'm using Panels 8.x-4.3 and Panelizer 8.x-4.1, I've added a couple of custom layouts in themes/custom/<mytheme>/layouts/ and I've added the following in the the <mytheme>.layouts.yml file....
0
votes
0answers
8 views

Panels layout not set while creating content

I have configured a layout example 1-col-trial for all contents of a specific content type. It worked for past many years and suddenly when I notice for new contents the layout has not been set for ...
1
vote
1answer
224 views

Programmatically render a panels page variant

There is a Page with id: front_page, and a number of variants. I want to programmatically load the page, evaluate the context and render the appropriate variant. I have the following code to load ...
0
votes
1answer
36 views

Way to remove the Override Title form option in Panel component config?

I am making a Panel Component, in D7, and do not want to show the title. I can just not render out the title on the page - that's fine - but I'd also like to remove the form fields that allow you to ...
0
votes
1answer
24 views

How to add some custom text after a taxonomy field in panels?

I have a taxonomy field called cvtype. This cvtype is containing several names like - Standard - Complete I can add this to a Panel by adding content > node. I would like to add the letters CV ...
1
vote
1answer
47 views

I can't edit Panel variants

I think this may have happened when upgrading to Drupal 8.5.x, but I can no longer edit a panel variant. I can add a new variant and seem to be offered the typical layout, content, etc., but nothing ...
0
votes
0answers
26 views

Alter node view mode programmatically to dislay colorbox instead of full

I have webform enabled and panelized with panelizer module which is overwritting with 'Full page override' option. However i want to display node in colorbox node using colorbox view mode not ...
0
votes
1answer
39 views

How to use trusted contacts as a selection rule for user panel page, drupal commons

In Drupal Commons, using Panels, I'd like to change the behavior of the user page. One variant for users to view their own page, and another for viewing other user pages. Also, I'd like to limit it ...
0
votes
1answer
36 views

Unable to add content in panelized page as administrator, how to overcome?

I'm Unable to add content to panelized page as a administrator. Is there any configuration hidden to overcome this? An Ajax error pops up showing You are not authorized to access this page. Only Uid=...
0
votes
1answer
129 views

How do I set up jumbotron so that I can control it through a panel?

I am using the Panels and Panels Bootstrap modules, and I would like to have a Jumbotron block in a couple of pages. How do I set it up so that I can control it through a panel, like shown in Drupal ...
1
vote
1answer
104 views

Programmatically create panels page including variants and block plugins inside it

I want to be able to programmatically create a panels page, add a variant and add block plugins to it with specified settings for each block plugin. My ultimate goal is to create a clone of a ...
1
vote
0answers
76 views

Hide Pages from Page Manager for certain user roles

We're using panels with page manager and want to restrict access to pages based on user roles and/or language. In a nutshell we will have many home pages for various regions. Each home page will be ...
0
votes
0answers
33 views

Get field value from an view

It is possible to get an field value from an View list of values, in an solution like Panels and Tokens ?
1
vote
1answer
218 views

AJAX 500 using In Place Editor to upload managed_file image

I have a plugin that allows the user to upload an image using managed_file to use as a bg image. While using the In-Place editor, I get a Ajax 500 error when trying to upload. I will post my watchdog ...
0
votes
1answer
18 views

Drupal Commerce Product SKU pane not showing after upgrade

After performing an upgrade of a Drupal 7 site (core and modules), including Drupal Commerce, the Product SKU pane is not showing up on my panels page. I'm able to add it to my panels page and there ...
0
votes
1answer
250 views

Programmatically set Panelizer View Template on Node

I have panelizer installed so that I can panelize the full content views on a node by node basis on my content types. For example I have a news content type but I have a default panelizer view mode ...
0
votes
1answer
587 views

How to add block template suggestions?

I want to be able to create a block or place a block into a region and theme it according to the selected view mode from Panels. I have noticed a discrepancy between Custom Block and Entity Block ...
0
votes
0answers
31 views

Remove extraneous divs from panels output

I have a Panels page I am constructing and there are some divs that are interfering with the content in the layout. At the top of my panels region output, it has: <div class="block-region-...
0
votes
1answer
37 views

No block available with a module

I am using Facebook post module which display its "Fb Account connection" generated informations/options in an user/%uid/edit/fb-post page. I want to display these outputs in a custom panels page, ...
0
votes
0answers
91 views

The “twocol” plugin does not exist

After updating the Panels module to 8.x-4.2, I got the following error whenever I submit any form in the site. Drupal\Component\Plugin\Exception\PluginNotFoundException: The "twocol" plugin does ...
1
vote
1answer
23 views

How to cache minipanels

I use minipanels in specific regions of pages (such as the main menu region) and they generally conain content that stays the same. How can I cache these minipanels? Is the block caching system ...
0
votes
1answer
18 views

How to use minipanels in a menu

I tried to install the module Menu Minipanels, without success. I tried both the 1.x and 2.x version but the minipanel don't show up in the menu. After half a day I gave up. I do like the idea of a ...
0
votes
1answer
21 views

Panel frontpage overrides site front page after migration

I have migrated an old Drupal 6 site to Drupal 8. On the old site I used a panel page as a front page. Now on the new site there is no way to change this path. No matter what I put in the "default ...
0
votes
1answer
997 views

Programmatically load the page variant being used on path or node object

I'm attempting to be able to load a page variant given a specific path. My ultimate goal is to loop through all the links in a menu, find out what page_manager variant is being used and load the ...
0
votes
2answers
146 views

How do I show the contact form in panels?

I have installed panels and Panelizer modules and used the core contact form. There is no feature available for adding contact form in the panels. How do I add the contact form in Panels without ...
0
votes
0answers
19 views

Panels don't render views in separate blocks

Steps: I have a view, it has 4 different blocks. I wanted to have one page that would include those 4 view blocks. So I created custom Panels page, added views. Problem I ran into is that for some ...
0
votes
1answer
33 views

Panelizer setup

I have installed Panelizer, Panels and Chaos Tools. However, I still can't find an interface where I can begin to configure and override page layouts. I suspect there is a missing menu link. Can ...
0
votes
2answers
82 views

Why cannot I install this module?

I installed Drupal 8 distribution in Acquia Drupal. I am trying to install the Panels module after downloading the archive file from drupal.org. I am not able to select the Panels module to install ...
0
votes
1answer
20 views

Can I completely exclude a pane title?

I'd like to apply several panes without title to a panel (in Drupal 7). I can select Override title and leave the input field blank, but this still leaves the wrapping HTML. <div class="panel-...