How to add PHP code in Paragraphs module drupal 8

Hello i am using paragraphs module and create three paragraph type Text Only, Image only and Image and Text both. Site working fine. Now i need a custom layout where i need

Image

then text

then PHP Dynamic out. Some custom form u can say or custom php code which gave some dynamic output

then Image

now question how can i add PHP code in paragraphs module / type

Drupal Commerce - tax exempt items

I am using Drupal Commerce and looking for a way to exempt some items from general tax.

I have tried a couple of modules to achieve this for instance Commerce Product Tax, Commerce Product Tax Conditions but they don't seems to be giving an option of selecting which items are tax free.

At product creation level I am expecting an option to select which items are tax exempt.

Installing Drupal 8 with AppServer

I downloaded AppServ 9.3.0 for Windows 64 bit. I am running Windows 10 home, 64 bit. AppServ downloaded with no problem and installed,  Apache 2.4.41,  php 7.3.10 ,  MySql 8.0.17  and  php My admin db manager 4.9.1 .  I downloaded Drupal 8 and unzipped everything. When I enter Localhost, Drupal does not start or appear. Here is my directory structure; C:\\AppServ,  below directories Apache24, MySQL, php7,  www.   My Drupal directory is C:\\"drupal-8.9.1"   What is in the wrong place. What has to be started before Drupal will run.

How to allow multiple selection in list field

Hello,

Structure > blocks custom lib > blocks type > add a block type> added a State field (list(text)) field. I like to allow users to select multiple values. But users only can select one. Manage form display > does not have any option to configure the field. I was looking for a checkbox "allow multiple ...".

https://drive.google.com/file/d/1EnkgJbMQYQsgOlmn2jZqR7fo-VEsocfS/view?u...

Please advise?

The ID field needs to be updated

Im updating several sites from Drupal 8.8.8 and  Drupal 8.6 (something). Updating to Drupal 8.9.6

and get this error:

Mismatched entity and/or field definitions

The following changes were detected in the entity type and field definitions.

hide fields in table and display with plus sign

Is it possible to have a field in a product type which is hidden, or a group of fields, and when the user clicks a plus sign the fields are displayed?  Because I have too many fields, some users may want this extra data, however it doesn't look good if all fields are displayed by default.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x