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
47 views

Is this how you use panels?

I'm learning Drupal and am trying to wrap my head around it. Recently I have been studying Panels. I wanted to see if my understanding of it was correct. Basically, you use panels for different ...
1
vote
1answer
42 views

Custom block: How to know you're in an admin context?

I've developed a custom block which relies on a taxonomy term ID being present in the URL, otherwise it throws a 404. I've placed this block in a panel page (ctools pages), but now when I try to ...
0
votes
1answer
30 views

How to make profile2 completely replace or override the core profile?

I have installed the Profile 2 module. I want to make it replace or override the core profile module for the entire website but I don't know how to achieve this. I have searched a lot, but have not ...
1
vote
1answer
24 views

Identical permission set for panels and panelizer with different results

I have a brand new site install profile I'm working on and with a clean site install, I'm seeing different results of the same permission setting. We have roles "Site Editor" and "Site Admin" and for ...
2
votes
2answers
423 views

How echo a date field in php

I am trying to call a custom date field to use in a text pane from a node to use as YYYY-mm-dd in: <div class="swod-date swod-hide">yyyy-mm-dd</div> I have tried to use: <?php echo ...
1
vote
1answer
23 views

How do I change the HTML surrounding a particular node?

I'm new to Drupal and have been tasked with fixing some HTML on a page. There are 3 seperate sections on this page, one of which needs a couple of new classes. I've identified the section I need to ...
0
votes
1answer
26 views

How to select a Taxonomy term in a Pane's settings and send it as an argument to Views?

I have a taxonomy vocabulary Help with several terms, representing different topics. I also have a Panel page where I would like to add Panes that contain all nodes with a certain Help term. My idea ...
2
votes
1answer
64 views

Panel Page with Node Views, Flags and Rules Integration

I created a page where users can submit friendly games. Other users can show their interest by flagging (Flag A) these games. The author of the game can see all prospects in another view (View 3 ...
0
votes
1answer
14 views

Create defaults for panels to be deployed on install only

We have a mini panel that we use to create a footer area. This is deployed on install of a new multi-site through our custom installation profile. I would like to set default content items in the ...
0
votes
1answer
312 views

How to render mini panel in custom template programatically?

I have a minipanel and I have a custom template. How can I render minipanel in my custom template programatically?
0
votes
1answer
77 views

Debugging panels visibility rule with custom access check plugin

I created a ctools access plugin for use with visibility rules in panels. When I click to add the rule, my rule "Site Installation Profile" shows in the list. I click it and click continue and my form ...
1
vote
0answers
21 views

Panels & Float Column

Do any of you have experience with Panels & Floating column? I am creating a template site where I will have side bars on the left and right side. But since this is a template site, sometimes I ...
1
vote
1answer
154 views

View using views content pane not updating on node save

On the home page, I have a view content pane to display the latest 3 blog items. When I save a new blog node I don't see my new item on the home page. The only way to get it to show up is to flush ...
0
votes
1answer
38 views

Views block element with Panels viewes

I have a content type foo, that has a media field and a body with text. I want to list the most resent foo on whit a specific visualization: double column layout for a foo that has media which is ...
0
votes
1answer
37 views

How to consistently style the titles of Views in my Panels sidebar?

My Panels website has a sidebar and I put several Views in there as Panes. Every View has a title and I would like to wrap this title in a h3 header. Until now, I manually overrode the Pane's title ...
1
vote
2answers
403 views

Panels block title translation

I use blocks in a panel with Drupal 8. With view generated blocks there are no problems: The block titles are translated accordingly to the view settings. With custom blocks, it appears to be ...
1
vote
0answers
40 views

Add custom entity search to Drupal core search

Is it possible to add results for a custom entity search to the results returned by Drupal core node search? At what point in the process would it be possible to add to the core search results? I've ...
1
vote
0answers
204 views

Custom panels page not showing page title

I have some custom panels pages I have created and have added the Page Title pane to page content. However, the Page Title pane is only rendering when the page is in a menu and we're on the url in ...
1
vote
1answer
1k views

Panels not working with page manager?

I'm testing page_manager on a fresh install of Drupal 8 (V 8.1.8). I installed : Layout Plugin 8.x-1.0-alpha22 Panels 8.x-3.0-beta4 Page Manager 8.x-1.0-alpha24 (with page_manager_ui) When I try to ...
0
votes
0answers
184 views

Combining Page Manager Search with Drupal core search

I'm in need of a search solution for panels, and Page Manager Search seems to be the only one out there that doesn't involve Apache Solr. The problem I'm having with integrating it into my site is ...
0
votes
1answer
44 views

Website consuming more memory [duplicate]

I have nearly 150 Panel pages and different template files. I generated lot of blocks using Node Block module to be used in the Panel pages. I guess this is causing memory issues in both MySQL and ...
1
vote
1answer
323 views

How to create a custom landing page for specific taxonomy terms in Drupal 7

How would I be able to have a customisable page where in it will be a landing page for special taxonomy terms and will display the related articles of a specific taxonomy term. For instance, ...
0
votes
1answer
209 views

Using panels and panelizer with i18n

I'm building a multilingual site with 4 different languages, using panels and panelizer, but am struggling to see how to have different panels for different languages. The site has to be content-...
1
vote
1answer
122 views

How to force Panels to render a node field even when field is empty

I have a field that I want to display via the Views Hybrid formatter in a panel pane as a node element. It renders just fine when there is at least one user-selected item in the field, but when there ...
1
vote
2answers
429 views

How to trigger a Rule when content is viewed with Panels activated?

Easy problem: when users visit a node page on my website, one of the node's integer fields should be changed. Answer: Rules. Now comes the tricky part... I installed Panels and enabled the node ...
2
votes
3answers
1k views

Page manager, Panels and theme suggestions

Page manager and theme suggestions I have two types of layout custom_2col_brick custom_1col_landing and I need to render the page according to the selected layout. basically, I needed two page ...
4
votes
0answers
137 views

How do I get a true panels page clone?

Any panels experts here? I want to clone a panels page with fieldable panels panes on it. I can use the clone option in the page manager. It creates a new page at a new url but the FPP are just ...
1
vote
3answers
1k views

Page manager (or panels) override path

I want to override Drupal 8 paths (routes) like node/{node} or taxonomy/term/{taxonomy_term} with custom panels variants. Is it possible?
1
vote
1answer
269 views

New content pane (in view) not showing up for adding to panel

Added new content pane as part of my view. Even after saving, and clearing the cache, this pane is not showing up on the available panes list when adding content to Geary type panel/column in Drupal 7....
1
vote
1answer
536 views

Why are my nodes not showing up in a Panel?

I am experiencing something strange: the nodes in my Panels are not showing up anymore. When adding content to my Panels, I can select Existing node, pick the right node title (e.g. Test article) and ...
0
votes
1answer
27 views

How can I add a save button in my page variant?

I have created two variants of user edit page, one displays the entire form and other displays only a couple of fields of that form. I have created a selection rule so that one triggers when is ...
0
votes
1answer
47 views

Create a subtype of Panel & style it with a template

So I'm trying to build a independent Landing Page for an event on our drupal 7 site. I would like to have the page contain a different main navigation menu then our site and also has the functionality ...
3
votes
1answer
504 views

How to create multiple variants of a page in page manager

I'm attempting to create multiple pages that use panels within a page in page manager. For example I'm trying to create the path 127.0.0.1/brands And have multiple pages that follow that same path ...
1
vote
1answer
3k views

Drupal 8 page manager and panels contextual filters for views_block

I'm working with Drupal 8(first project with 8) and trying to build page (via page manager) with taxonomy tid argument. As a display variant I use panels and inside of panel I put block, generated by ...
1
vote
0answers
96 views

Change drupal theme based on panels layout

I'm using panels and ctools page manager on Drupal 7 in order to create landing pages. I want to force the use of a specific theme for pages defined with a certain panels layout. I can use ...
0
votes
1answer
581 views

Cannot add 'Page Title' and 'Main Content' blocks to panel

Configuration: Drupal 8.1.5 Panels 8.x-3.0-beta4 Page Manager 8.x-1.0-alpha23 Layout plugin 8.x-1.0-alpha22 Panelizer 8.x-3.0-alpha2 When I create a Panel variant for /node/{node} with Page Manager, ...
0
votes
1answer
417 views

Breadcrumb displays overridden page label instead of node title

Configuration: Drupal 8.1.5 Panels 8.x-3.0-beta4 Page Manager 8.x-1.0-alpha23 Layout plugin 8.x-1.0-alpha22 Panelizer 8.x-3.0-alpha2 Main menu: About Team Technology ... When visiting page /about/...
1
vote
1answer
41 views

Is it still a partial port or does it take a different approach?

At the moment of this question, I am using: Drupal 8.1.3 Panels 8.x-3.0-beta4 Page Manager 8.x-1.0-alpha23 Layout plugin 8.x-1.0-alpha22 I am having difficulties replicating what was easy with ...
0
votes
1answer
649 views

Creating a layout with Page Manager

I'm trying to use Panels and Page Manager in Drupal 8. My current versions of each are: Page Manager: 8.x-1.0-alpha23+12-dev Panels: 8.x-3.0-beta4+41-dev My current problem is having no idea how to ...
0
votes
1answer
113 views

How to add custom predefined content panes?

I've seen in a few tutorials and videos online that the following Content Panes are available: Those that say Add links, add file, etc. For example this video also shows one called 'add page banner'. ...
1
vote
0answers
49 views

Using a WYSIWYG field in Fieldable Panels Panes

I'm using the Fieldable Panels Panes module to allow my users to create pre-styled panels and arrange them on the page using drop and drag. I've used a Drupal 7 site before where you could include a ...
1
vote
1answer
175 views

Theming mini panel using MYTHEME_preprocess_panels_pane

I'm trying to edit the content of a mini panel using MYTHEME_preprocess_panels_pane but when I use Devel to dsm $variables, I just get data for the pane that holds the mini panel. Is there a function ...
1
vote
0answers
43 views

Exported feature, panelizer fields are unknown when installing in another environment

I can't seem to find out why my panelizer default layout is not being installed correctly after being exported using features. I am exporting a content type, with some default panelizer settings. ...
0
votes
1answer
23 views

Zebra striping on custom panels layout

Is there a way to get zebra striping on a custom panels layout? I've been looking hook_preprocess_panels, but I don't see a way to tell if I'm a certain layout is being used. I don't want it on all ...
0
votes
1answer
54 views

Is it possible to add style plugins?

I would like to allow users to choose a style for each pane and choose options such as margin and font size. It is clear how to do this in Drupal 7. But I can't seem to figure out whether it's ...
1
vote
1answer
288 views

What is an alternative to hook_node_view()?

When a node is rendered in a panel pane, hook_node_view() is not invoked. (I use Panels 7.x-3.4.) Is there any alternative to change rendered node content in any other hook? I have tried with ...
1
vote
0answers
18 views

Custom CSS overide

Is the CSS code entered in the field under "general" on a panel page overridden when a new theme is applied or Drupal is upgraded? Specifically I am referring to this box.
1
vote
1answer
44 views

Is this the correct way to make a panels layout

I have a 'working' panels layout that is getting the job done, but I'm unsure if it's the right way to do it. Basically I copied the twocol_stacked layout from Panels and fitted it to my needs. The ...
0
votes
1answer
377 views

Add styles to panes in Panels module

I'm using Panels in page manager to create unique pages with different blocks and panes. I'd like to be able to add settings to each individual pane such as adding a class or style. For example when ...
1
vote
1answer
320 views

How to preprocess Bootstrap region

I am using Panels Bootstrap Layouts. I insert bootstrap_twocol_stacked into the $content region. I'd like to be able to access regions of that Bootstrap layout (Top, Left, Right, Bottom) in my page....