Questions tagged [drupal-8]

Drupal 8 is the Drupal version that was officially released on November 19, 2015. Rather than using this tag, consider posting your question directly on https://drupal.stackexchange.com/.

Drupal 8 introduces major changes, such as the support for HTML 5, better support for web services, multi-language support, mobile devices, and a configuration API.

Use this tag only if your question relates specifically to this version.

Requirements

  • Web server: Apache, Nginx, or Microsoft IIS
  • Database server: MySQL 5.5.3/MariaDB 5.5.20/Percona Server 5.5.8 or higher with PDO and an InnoDB-compatible primary storage engine, PostgreSQL 9.1.2 or higher with PDO, SQLite 3.6.8 or higher
  • PHP: PHP 5.5.9 or higher

Related tags:

Resources

2837 questions
0
votes
1 answer

Drupal 8 - page.html.twig not updating website

I am new to Drupal, and I'm creating a custom theme based on a Bootstrap Bario subtheme on Drupal 8. I can update the CSS with no problem, but I first need to clear the cache before reloading the page (which gets annoying, is there a way to avoid…
Chris Rahmé
  • 357
  • 2
  • 6
  • 20
0
votes
2 answers

Drupal 8 - Allow Insert Media icon to select existing images using CCK Editor

I’m pretty good when it comes to using php to program something into Drupal 8. But configuring Drupal 8 to do something is a bit more difficult for me. I have two different buttons in CCK editor for adding images. The first one with the dialogue…
phpwebdev
  • 103
  • 1
  • 10
0
votes
1 answer

I have deployed a Drupal Instance but i see that the instance Endpoint are not visible although the containers deployed successfully

I have deployed a Drupal Instance but i see that the instance Endpoint are not visible although the containers deployed successfully. Container logs don't point to any direction apiVersion: apps/v1 kind: Deployment metadata: name:…
anish anil
  • 2,299
  • 7
  • 21
  • 41
0
votes
1 answer

DRUPAL 8.7 ERROR The taxonomy_term.XXXX field must be updated

I tried to run drush entity update but from version 8.7 it doesn't work. Drupal Version: 8.9.1 PHP Version: 7.3.7 Database Version: 5.6.48-log Sistema MySQL, MariaDB, Percona Server, o equivalenti Error: definitions entity / field Mismatching of…
0
votes
1 answer

Drupal 8 Custom Module - From dynamic data (API) to store at Fields (Content type) Drupal DB

I've created a custom module in Drupal 8 that grab some data from an API, and puts them in the Drupal DB creating a new table. I want to add this data as the contents of a specific content type. How can I do that? here is my code :
0
votes
2 answers

Serving static subpages in drupal 8 via htaccess

We have drupal 8 site with a folder in docroot. Lets say its in a folder called micrositefolder. It contains a single index.html file. Now let's say micrositefolder lives on fullsite.com. I dont want someone to access the microsite via…
Ronnie
  • 11,138
  • 21
  • 78
  • 140
0
votes
1 answer

Drupal 8 getting data from database

I have a task of making some content of movies in admin panel in drupal https://i.stack.imgur.com/Ut6wG.jpg and then after that to use a custom module and controller to show those movies onto my custom twig. I am unable to find a solution or hint…
0
votes
1 answer

My module does not work and displays an error page

I made a module for Drupal 8.9 https://git.drupalcode.org/sandbox/zenimagine-3076032/-/tree/master On my /user/ID/tasks page I have this error : The website encountered an unexpected error. Please try again later. TypeError: Argument 1 passed…
user13431706
0
votes
1 answer

Drupal 8: uploading new module causes site break, site does not work shows error

Since Drupal 9 is released, after uploading newer versions of Modules in Drupal 8, Drupal site is breaking. Just showing: An error has been occurred.
Pupil
  • 23,834
  • 6
  • 44
  • 66
0
votes
0 answers

Muliple Dropdown Select option in Drupal8 Custom Form

I have to design the form with following fields Country State District If you select Country the Country value will be loaded in the Country Dropdown Field Then if you select State the States belongs to Countries value will be loaded in the State…
0
votes
1 answer

t.find(...).val(...).toFixed is not a function

am on Drupal 8. Actually I use this code in order have plus and minus buttons (for quantity in add to cart) var spinner = $(this), input = spinner.find('input[type="number"]'), btnUp = spinner.find('.quantity-up'), btnDown =…
AmeDSL
  • 11
  • 1
0
votes
1 answer

Drupal 8 - Submit Webform to an external API

I have a Webform on my Drupal website(8.8.5). The Webform has multiple fields along with two file fields. When the user submits the Webform, I want to send the details to an external API (SugarCRM) including the files attached in the Webform. How…
siddiq
  • 1,693
  • 3
  • 17
  • 44
0
votes
0 answers

Is it possible to make a comparison with the one views?

I integrated a view into a template with Twig Tweak. I would like to use the comparison feature, to display a font-awesome only if the view contains the class .alert for example. Or if the view contains the word…
user13431706
0
votes
2 answers

drupal 8 commerce 2 - How to unpublish all published products and their products variations programmatically

I need to unpublish all "active" (published status == TRUE) products and products variations before every import of actual assortment on my site. How to do it programmatically? I see 2 ways to do this: via a direct query to the database. via…
Savage
  • 11
  • 1
0
votes
1 answer

What are these settings for in Views?

I am studying Views, and I’ve already figured out all the settings, but I don’t understand why these three settings are needed. I marked with arrows the settings that I don’t understand. And in FORMAT -> Show -> Fields -> Settings:
tyry
  • 119
  • 1
  • 6
1 2 3
99
100