This forum is for assistance with theme development.

Can't upload logo gif

I've still got a lot to learn about D8 in general while I'm getting close to building a development environment on Windows 10 with IIS 10, MySQL, and PHP 7.1.3. Many thanks to drupalonwindows.com and a few others for hints. (Various WAMP stacks would be great if Apache worked on Windows.)

I've created a new site with composer create-project drupal-composer/drupal-project:8.x-dev and then required a contrib theme, which looks pretty good.

Custom Theme Suggestion not recognised

Hi there,

I'm trying to set up a custom theme suggestion for Drupal 8 so i can target a specific input field based on the ID of the field.

This is the code i have written:

/**
 * @param $suggestions
 * @param array $variables
 */
function MYTHEME_theme_suggestions_input_alter(&$suggestions, array $variables) {
  $element = $variables['element'];
  $suggestions[] = 'input__' . $element['#id'];
}

This is the template i have added to my theme:

Magic variables in twig files

Hi All,

I'm looking at a page.html.twig in the danland Drupal 8 theme and see something like this:

          <div class="slideshow">
            {% for file in files %}
              <img src="{{ file.uri }}" width="100%" height="100%" alt="{{ file.name }}"/>
            {% endfor %}
          </div>

I can't seem to determine where this "files" variable is defined.

Features display on Drupal 8 Themes

Hi,
I'm new to Drupal, started working with Drupal 8, but when I apply a new theme I only get blocks but none of the particular features such as carrousel for images or color, basically no details. HELP!!!! Thanks

simple jquery...doing nothing...

Hi guys...I am really getting frustrated with this. In my theme I have a script file that is working. I am adding a new function to deal with some div but nothing happen. Cleared the cache...tried different things...nothing is working.

The following code is working perfectly fine when tested in jsfiddle, but in my site...nothing at all.

html code output:

Menus are ALL CAPS

Hello,

I am new to Drupal, I am taking over the web services for a company and their site is running on Drupal 7.43. I have worked with Wordpress, Joomla and other CMS solutions before, but never really played with Drupal. I am getting my feet wet, jumping right in, but one thing is confusing me.

Here is the site:

https://www.everspin.com/

Pages

Subscribe with RSS Subscribe to RSS - Theme development