This forum is for assistance with theme development.

Getting theme Framework working on Drupal 7

Hi!

First time poster so hints on posting on this forum are greatly appreciated.

I'm in the process of upgrading an older Drupal 7 site (to 8) and having trouble getting the theme Framework working; Best description is that it is ignored and using the fallback Bartik theme. The site is running locally and my setup is:

Windows IIS 10 PHP 7.4 MySQL 5.7 Drupal 7.78 Framework 3.5

Thanks for reading!

dxpr

Hi my name is Sam and I'm new to the drupal world, I'm starting with a tool called Dxpr, but which during its installation caused problems, i.e. bugs regarding patches, a problem that occurred mainly with the Acquia Lighning dxpr module (patch 2869592 ), a problem that cannot be solved even if disabled by composer. If you have any solutions, propose them thanks in advance ...

How to create custom php page-template in drupal 9.2

Hello,

I am newbie in Drupal.

I have created a child theme for Bartic theme.

I have created two files bartikssen.info.yml + bartikssen.libraries.yml

Does anyone know how to create a custom php page-template in drupal 9.2 in order to edit this page directly from my client editor (atom) and not from drupal editor?

Or how to edit content basic page directly from my client editor and not from drupal editor?

Is that possible?

Thank you in advance

How can redirect after create new content or page

want to redirect new content submission to admin/content instead going to node/id, since i use different templates for each content type and loading node/id will render like broken template, so to prevent it, decided redirect all contents to main content list page and tried function mytheme_form_alter(&$form, FormStateInterface $form_state, $form_id) {} but it returns below error:

@media queries below 1024px do not work in custom theme

Hi All

I have a custom theme that has the following folder structure

  • css/style.css
  • sass/
    • setup/_mixins.scss
    • sections/_footer.scss
  • style.scss
  • gulpfile.js (compiles scss files imported in style.scss)

My _mixins.scss file has the following:

undefined drupal_add_js function inside themename_preprocess_page

I am using Drupal 8.x and I wanted to use javascript to delete an option from the list of options within specific pages, i.e., content type, using a pattern of their machine names, i.e., proxy_request, in case the user is not an administrator and I searched and found this code inside a post and I used it inside the project's themes->mythemename->mythemename.theme file, but that didn't work and I have several problems I want to know how to solve, as I searched a lot I did not find a solution

Pages

Subscribe with RSS Subscribe to RSS - Theme development