Questions tagged [panels]
Using the Panels module, authorized users can create specific layouts and theme them easily.
1,041
questions
0
votes
0
answers
32
views
How can I define generic paths?
I need to be able to handle multiple paths using Page Manager and its Layout Builder variant.
I didn't find any up-to-date answer to this question in other posts.
That works well when I create ...
0
votes
0
answers
11
views
Why might a panel pane print a block as class="panel-pane pane-block..." vs class="block block--views..."?
I apologize if the wording for this question title does little to explain my problem. I'm so deep into not understanding an issue I'm having trouble describing it.
To preface, I'm quite a noob with ...
0
votes
2
answers
65
views
Saving block translation with large amount of text causes PDOException: Data too long for column 'translation'
I have a Drupal 7 project where I am using a Panel to patch together some Drupal blocks.
These blocks have to be translated and I just added some data to the current French translation and apparently ...
0
votes
0
answers
22
views
Single Page Website module - anchors not displayed in the browser address bar
I installed the module https://www.drupal.org/project/single_page_website in Drupal 7. When I click the menu items it scrolls to the pages as it is expected, but then the anchors are not displayed in ...
0
votes
0
answers
58
views
Disable node listings on taxonomy term pages per vocabulary
I have two vocabularies and I'm trying to hide/disable the node listings that automatically appear on the taxonomy term pages (/taxonomy/term/%), only for one of these vocabularies.
I'm not sure if ...
-2
votes
1
answer
27
views
When editing a node, tab group titles are missing [closed]
When editing a node, tab group titles are missing:
The HTML looks like this:
<ul class="horizontal-tabs-list">
<li class="horizontal-tab-button horizontal-tab-button-0 ...
1
vote
0
answers
45
views
Create a user map with a results tables below it
I've been searching around for the past couple months, watched a lot of YouTube videos, and read a lot of tutorials, and I've made a lot of progress with an alumni directory our team is creating. But, ...
1
vote
0
answers
32
views
Custom admin theme showing links in backend from frontend
So im new to drupal and i'm learning on how to use custom theme's by reading theming drupal. There is a topic about sub theming and I thought it was interesting to make a sub theme from the default ...
1
vote
1
answer
186
views
Redirect Search API view result (Leaflet map) to display in a pane
The particular Search function starts as Full Panel Page in a style to a Google Maps Location Search page; Search Input (Block) to the top left overlaid on a current Leaflet map based on the logged-in ...
1
vote
0
answers
45
views
Panelizer content missing on module update
I'm in the process of migrating a client's Drupal 8 installation to the preferred composer structure (outside of docroot), but having a single issue causing a full stop. They use Panelizer for most ...
0
votes
1
answer
83
views
How do I create custom layouts for Panelizer?
I was wondering how do you create custom layouts for Panelizer in D8? In D7, I can easily create my layouts, and just add a couple of lines on my .info file to let Drupal know where my layouts are.
I ...
0
votes
1
answer
55
views
Converting a page created with panel into PDF
I'm working on D7 Panels and I created few pages using panel. I have a use case to generate the pdf for the data existed in the panel rather than the whole page with header and footer. Are there any ...
0
votes
1
answer
131
views
Uncaught PHP Exception: MissingValueContextException
After upgrading to version 8.8.5, I can't access the main web page, but I can log in to the admin panel. When I turn on the verbose logging funcionality I receive the following error message:
Drupal\...
2
votes
3
answers
576
views
How do I pass arguments from URL into panel page block?
I have created a view with a contextual filter set to a taxonomy term. I am attempting to use the view block in a panels (page manager) page and pass the taxonomy term from the URL into the block. I ...
0
votes
1
answer
41
views
How might a user configure which video is shown on page without editing the page?
A Drupal 7 site has an embedded YouTube video on the home page. It is not always displayed. Sometimes the video being displayed is changed. The home page is arranged by a Page Manager Variant, and the ...
0
votes
0
answers
26
views
Set block content from panels / page manager?
I am configuring a panels page manager page which also should have a specific sidebar block (search filters related to the page content).
I want to use the regular page.tpl.php where the sidebar is a ...
0
votes
1
answer
51
views
How to make Panel Page variant selection rules detect URL parameter?
On D7 I have set up a new panel page variant and want to use it with a certain selection rule:
String: URL path Current path is "*/cars/*?buy"
Eg I want this panel variant to be used if the URL ...
1
vote
2
answers
118
views
How to detect Panelizer use in template_preprocess_html()?
In Drupal 7, you could look for $node->panelizer or use page_manager_get_current_page() to check if the current page uses a panelizer layout. How do you do that in Drupal 8?
I'm trying to add a ...
0
votes
0
answers
111
views
Instructions for custom panels content types
I want to port a website from D7 to D8 that is based on panopoly and makes heavy use of custom ctools content type plugins as well as dynamic argument handling. I didn't find much useful information ...
1
vote
2
answers
113
views
Hide a list of blocks from Panelizer in-place editor (IPE)
I have a list of blocks that shouldn't be added via panelizer IPE popup under manage content. Is there any way to remove them from the list?
0
votes
1
answer
119
views
Passing values in view block to contextual filter on Panelized Node
I have a view set up with a contextual filter for year (select list field). I want to have the ability to have one view and pass the year to the view.
Now I have panelized nodes that I add the views ...
0
votes
1
answer
22
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, ...
0
votes
1
answer
62
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 - ...
1
vote
2
answers
26
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
2
answers
42
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
1
answer
75
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
1
answer
187
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
1
answer
157
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
1
answer
48
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
1
answer
33
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
0
answers
1k
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
1
answer
43
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 ...
2
votes
1
answer
26
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
1
answer
573
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
1
answer
113
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
1
answer
88
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
0
answers
146
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
1
answer
41
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
1
answer
305
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
1
answer
419
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
0
answers
154
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 ...
1
vote
1
answer
783
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
1
answer
57
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
1
answer
444
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 ...
1
vote
2
answers
2k
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
0
answers
52
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
1
answer
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
0
answers
116
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
1
answer
36
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
1
answer
24
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 ...