This forum is for assistance with theme development.

No html head loaded for html--node--1.html.twig

I have a 'html--node--1.html.twig' file to load a specific template file for this node. When I load the page, I can see this template is use, but no <html> <head> (including css and js links) are loaded while for 'page.html.twig this' is the case.

Anyone who can guide me?

Thank you!

Parser error with INFO.YML file

I am attempting to create a Base Theme. I have all the necessary files, I have managed to create Themes that use others as a base theme (Classy, et.al.), and have not had this issue; however, when I attempt to move my new theme into my Drupal 8 setup, I get the famous "The website encountered an unexpected error. Please try again later." Error message. Checking the logs, I find
 

Error code after creating asset library

I'm getting the error below after creating a child theme including a themename.libraries.yml and putting the code below in it.

The asset reference from the library.

libraries:
  - mytheme/global-styling

The library code:

global-styling:
  css:
    theme:
      css/style.css: {}
  js:
    js/script.js

The error code:

View theming page for ad

Hey guys,

I know its easy to insert an ad or any sort of code between view results using template. Is it possible to do it only for the first two pages? I've been looking on how to do this, but haven't found a way yet. Even more, using the load more button approach for pager. Basically I want to insert an ad each # of results, but only on the first two pages. Is it even doable?

Thanks

Drupal 7 Bamboo theme

I'm trying to get the skip to main content link to work in the Bamboo theme. In sites/all/themes/bamboo/templates/page.tpl.php I added the following:

<?php if (!$is_node): ?>
      <?php print render($title_prefix); ?>
      <?php if ($title): ?><h1 class="page-title"><?php print $title; ?>
      <a name="main-content"></a>
      </h1>
      <?php endif; ?>
      <?php print render($title_suffix); ?>
      <?php endif; ?>

Unable to update.php

Hi

I have successfully updated to Drupal core 8.9.11

However when I try to run update.php I get the pink message:

+++++++++++++++++++++

MISSING OR INVALID MODULE
The following module is marked as installed in the core.extension configuration, but it is missing:
evergreen
Review the suggestions for resolving this incompatibility to repair your installation, and then re-run update.php.+++++++++++++++++++++++

Pages

Subscribe with RSS Subscribe to RSS - Theme development