All Questions

Tagged with
Filter by
Sorted by
Tagged with
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 ...
0
votes
1answer
402 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
747 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
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
1answer
256 views

How to allow users change theme for specific pages

A page has been created with panels which list all the contents of each user. I want to allow each user to be able to change the theme used for his own panel page. Whenever anyone visits the user ...
4
votes
1answer
661 views

What are the main difference between panels and paragraphs?

What are the main difference between the Panels and Paragraphs module in Drupal 8? As far as I know both of the modules can be used for creating landing pages. When to use paragraph and when to ...
1
vote
1answer
697 views

Render Custom Menu Block from Menu Tree Array of Links Programmatically

Here's what I have: A custom menu (side nav) that mimics the main/secondary menu tree which shows the entire subtree of the root menu item (Dine, Play, Stay) you're under. This sidenav can be ...
0
votes
1answer
96 views

Set panel width

I'm trying to set a panel width, I'm using the "two columns stacked" layout, but I want that one column is 2/3 width and the other 1/3. Is 50% by default. By default looks like this: If I put this ...
0
votes
1answer
50 views

How to rewrite the output of $content inside a pane template?

I am trying to reformat / rewrite the output of pane content inside my panel template. Here is what I have: panels-pane--panels-mini--some-name.tpl Inside this file I have: print render($content) ...
0
votes
0answers
24 views

How do I edit the HTML for a part of a panel?

I am new to Drupal and need to style a blank page. The page has some content in it, but I need to make some little adjustments to the html (.tpl?) files. The page uses a Panelizer variant with 2 ...
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
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 ...
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 ...
0
votes
1answer
46 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 ...
1
vote
0answers
93 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 ...
1
vote
1answer
165 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
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 ...
1
vote
1answer
303 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....
0
votes
1answer
19 views

How to make a template for content type with panels

I´ve created a content type "Products" with "N" fields and I try to create a template for this content type, each product should have its own page. How I do this?
0
votes
1answer
121 views

Is it possible to display Entityform Types using Page Manager and Panels in D7?

Currently, I have a D7 site and my main Content region is displayed using Page Manager and Panels variants. I've created an Entityform Type that allows users to request an appointment, and I'd like ...
0
votes
2answers
81 views

Panels are wrapping the content into weird <strong> tags

I am new to panels, using panels module to set the page that contains 3 views on it (nothing wrong with these views), when I add the content, the output displays weird tags those are wrapping the ...
2
votes
2answers
518 views

How to theme title field

Normally when I theme a field, I use a template suggestion in format field--fieldname--contenttype. However, it doesn't seem to be possible to do this with the node title. I've tried both of the ...
1
vote
0answers
91 views

Are there any known compatibility issues between Bootstrap theme and Panels Bootstrap Layouts module?

Officially, the Drupal Bootstrap theme includes Panels in a list of modules not officially supported. There's a module, Panels Bootstrap Layout, which claims to work with and recommends the Drupal ...
1
vote
0answers
83 views

How to get user edit form in mini panel?

Could you, please, explain me how to get user edit form in mini panel ? I need to replace standard user edit form and to do it in block but have some problem with that - it seems that nothing happens. ...
0
votes
1answer
24 views

How do I make a block appear in a panels display based on the state of a field

I have a field that is a single on/off checkbox. Whenever it has been selected it outputs a key of 1 into the panel display, if it hasn't it outputs a 0. I want it to output custom html for a link to ...
0
votes
0answers
42 views

How to theme or override forms when using Panels

I am using Panels in my website. there is a page user/$username/edit which enables the people to edit their profile. I tried the following code to theme the user_profile_form form. Template.php ...
0
votes
1answer
163 views

Bypass node access with Panels

I'm using modules Content Access and Panels. I need to modify the appearance of a node according to its accessibility by the user. With Panels, I made 2 variants with selection rules (page "Node ...
0
votes
0answers
47 views

Change node display for purchased products

I am using Drupal 7 and Drupal Commerce, and i want to change the appearance of product display node when a user bought the product which he references. For example : 1/ Product display before ...
1
vote
0answers
121 views

CKeditor and Panels

I'm having trouble getting the styles applied using CKeditor to render on field output. While all the styles from the site's main CSS are available when editing the text in CKeditor, the only style ...
2
votes
0answers
87 views

Use image style as formatter in panels pane. [D7]

How do you select/apply an image style to an image field that is contained in a panel (or mini-panel) pane? I have added an image field to a panel pane, and the only option it gives me under ...
1
vote
1answer
114 views

Flags with image instead of link [duplicate]

I have two flags defined in my site (false_negative_flag and false_negative_flag_passed). Each flag has different Flag link text. In views, I have two displays. I have a flag link in each of these ...
0
votes
3answers
154 views

Panels creates different pane number for any mini-panel inside a panel-node

It's kind of hard to explain this but I'll try in a pragmatic example: You have a mini-panel in a block, somewhere around a panel-node (say node/1, your homepage): in the first panel-node (your ...
0
votes
1answer
27 views

When creating a Panel Page and selecting a layout, the page layout is not overidden

I'm using Omega theme and have built 4 custom layouts for my sub-theme. If I activate layouts and select one in the admin my Omega sub-theme, everything is fine. Now I want to use those layouts as ...
0
votes
1answer
63 views

A Product Page with dynamic variants without using Commerce

I have a page that is product page for an offline product. This product will never be sold through the website, so the Commerce module would be serious overkill I think. There are some features of the ...
4
votes
3answers
598 views

Using Panels for Layout versus custom .tpl files

I'm working through some layouts that aren't entirely complex but are definitely outside of the core Drupal provides. It really does seem like there a 20 ways to do one thing in Drupal. Should you ...
3
votes
2answers
1k views

Unable to add css class to a Panels region

I wish to add custom css classes to specific regions in a panels page. I understand from this question Add a class to a panels pane that I should be able to do this pretty trivially from the settings ...
0
votes
2answers
42 views

How to make a specific template according number of nodes in a content type?

I have a content type article and I need a specific template for showing articles according the number of nodes. If I have 2 nodes (content type article) I need to make a template, if I have 3 nodes (...
1
vote
1answer
76 views

How to use fixed width in AT Panels everywhere (site template)?

I am using the AT Panels Everywhere theme and its ATPanels Everywhere Site Template. However, apparently it overrides the At panels everywhere theme because the width seems to be fluid and not fixed. ...
1
vote
1answer
278 views

Add html to wrap custom panels layout programaticly

How to add html to wrap custom panels layout programaticly? I know that i can change html in *.tpl.php but i want to avoid it. Also i want to know, how to add class to panals programaticly too. UPD: ...
0
votes
1answer
194 views

How to put page-title inside of my content's first panel?

Using a custom theme, pretty basic (so far): <section id="content"> <?php if ($title): ?> <h1 class="title" id="page-title"> <?php print $title; ?> ...
0
votes
1answer
29 views

Change certain parts of the layout

Iam using Omega 4 and Drupal 7 and Iam wondering how to apply layouts just to certain parts to the website. My website almost stays the same, header and footer never changes, just the content area. I ...
1
vote
0answers
169 views

D7+Panels3: How to let IPE add rows to the layout?

I have a site based on AdaptiveTheme with Panel nodes being edited using the In-Place-Editor, because my users want to dynamically arrange their content on their respective Panel nodes. They ...
1
vote
1answer
380 views

Theming a Fieldable Panel Pane — should I define a View Mode?

I added a Link field to Panopoly's Image fieldable panel pane, but I need to theme it so the link is silently wrapped around the image rather than displayed textually underneath. It also needs to be ...
1
vote
1answer
68 views

Theming blocks in Panels

Does anyone know of a module or some other way to allow users to customize blocks or panes (or even regions) in a panel on their profile page (i.e.: the authenticated user could change the color ...
2
votes
1answer
47 views

Panels default content when creating a new page

When I'm creating a new panel page within the Panels module I want the new page to automatically load up with the content and layout and settings of my default site template. For example, I want the ...
0
votes
2answers
33 views

What is the proper way to style pages in a new installation of a drupal theme?

I'm currently working on a new theme for a new drupal site, and have created a new subtheme of the adaptivetheme and am looking to modify it to match the two psd's I've been given (one for the main ...
0
votes
1answer
141 views

Add class to empty Panels regions

How can I add a css class (.empty-panel-region) to Panel's regions that don't contain any panes?
0
votes
1answer
76 views

Panels - build own dynamic layout

Does anyone has any idea how to create own custom dynamic layout for Panels3? What I mean by dynamic is that I want to create 1x2 grid and have an ability to add new rows with "Add new row" button. I ...
0
votes
1answer
158 views

Making Panel-Col-last the first

I have a 2-column panel (Regular, not stacked). I've made it responsive and it appears allright in mobile view @media screen and (max-width: 519px) {width: 100%;}. The only problem is that my site ...