Questions tagged [panels]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Encountered an error when visiting “Contexts” and “Content” under Panelizer Wizard [on hold]

When modifying Content Type - Edit Default Panelizer, I've faced an issue when I visiting "Contexts" and "Content". [ === PHP Fatal error: Declaration of Drupal\panelizer\Plugin\PanelsPattern\...
0
votes
1answer
11 views

How do I fix missing input fields in panels

The site I am working on is Drupal7 site, built of panels and pages, panelizer. Typical steps to edit, admin logs in, click on the "customize this page" button, various panels open up, click on the ...
0
votes
1answer
7 views

How do you add a region to a panel

Novice question on Panels - I've inherited a D7 site with Panels 7.x-3.9. I'm using a system page: node_view, with a variant for the content type I'm working on. The layout has a number of regions - ...
0
votes
0answers
11 views

Can I make a “type” available as a block?

I am trying to rebuild my links site in Drupal 8. In Drupal 7, I use a three-column panel page. I use a type to create the categories and with the node-block module I create the blocks. In Drupal 8, ...
1
vote
2answers
11 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
26 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
20 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
14 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
6 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
8 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
73 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
43 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
38 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
11 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
384 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
19 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
28 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
16 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 ...
2
votes
1answer
23 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 ...
1
vote
1answer
297 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
56 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
27 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
73 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
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
38 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
145 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
159 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
90 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
35 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
257 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
306 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
719 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
38 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
95 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
25 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
24 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
1k 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
181 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
35 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
85 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
21 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-...
4
votes
1answer
683 views

How do I configure meta tags for a panel page?

How do I configure meta tags for a panel page? I want to change title, keywords and description. Ideally I want to use Yoast.
1
vote
0answers
55 views

Creating URL specific variants

I am used to create variants in page manager like /page/variant1, /page/variant2, and /page/variant3. In Selection criteria there is no String URL option any longer. How do I use URLs as selection ...