Illegal choice -6 in Weight for new file element.

Illegal choice -6 in Weight for new file element.

Had the above error message on a Drupal website. The error happened on a Commerce product page with field images. I'm not sure if it happened when the user uploaded an image, or if they re-ordered the images and saved the page.

In the product edit page, if I click the 'Show row weights' link, the select dropdown only has the range -5 to 5. Any idea how the form value of -6 for image weight was given?

front page defaults to /user/1

I may be missing something very straight forward.  I changed the default front page to a particular node.  However, once I deleted that node and left the default front page field empty, the site now defaults to /user/1.  Any idea on how to 'reset' this back to the "default" default front page? Is it /node?  I tried this, but was given a permission error.  Any advice would be appreciated. Thanks :)

Front End Engineer and Software Engineer - Perm (London)

Hi all,

We're looking for a Front End Engineer and Software Engineer to join Dennis (www.dennis.co.uk). The roles are London based and permanent contracts. 

We have a number of projects kicking off this year, including our full migration from Drupal 7 to Drupal 8.

Keen to discuss the opportunities and send over some further details to anyone who would like to find out some more. I can be contacted direct via email on daniel_mackie@dennis.co.uk

Drupal Mobile Theme( in 8.x)

In Drupal 6 and Drupal 7 I made separate mobile theme so that using mobile device my sites will be accessed as m.example.com

But in Drupal 8 which I'm still learning , in the default installation in the same url it is showing mobile view when accessed using a mobile device.

How is Drupal 8 doing this?

Install Drupal 8.5.0 And Search API Solr Search

I installed Drupal and Solr by docker.

version: '3'

services:

php:

build: php

ports:

- "80:80"

container_name: drupal-server

links:

- db

environment:

- VIRTUAL_HOST=drupal.local

volumes:

- D:\www:/var/www/html/

- D:\Server\drupal\php\php.ini:/usr/local/etc/php/conf.d/php.ini

db:

image: postgres:9.4.17

restart: always

container_name: drupal-postgres-db

environment:

POSTGRES_PASSWORD: 123456

ports:

- "5432:5432"

Display count of referring nodes in a view list of taxonomy terms, and list multiple referring node titles in one table cell

I have a content type 'worker' which has an entity reference field 'field_position' which allows the content creator to choose one or more terms from the vocabulary 'work positions'

What I would like to do is display a view which shows each work position taxonomy term in a table, one per row, and one column will show how many workers have been assigned to that position.

In drupal 7 I did this using the node reference and node referrers modules.

In drupal 8 I am using the entity reference module and setting up my positions as taxonomy terms.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x