Adding fields to a 'content type' in Drupal 8

Hi,

I have a file that contains 303 fields and their specifications.
In that file, SystemName, LongName, DataType, MaximumLength and Interpretation for each field are defined. Almost half of them need a taxonomy.

The requirement is to create all of the fields and add them to that content type.

.htaccess settings for Drupal 8 multi-site on a shared host

Ok there's a lot of content out there for this kind of thing:

https://www.drupal.org/node/1068894
https://www.drupal.org/node/144643
http://kahthong.com/2011/05/how-serve-drupal-sub-directory-web-root-0

but i'm having no luck at all.

In my public_html, i've got a Drupal directory, so it's: /public_html/drupal8

How can I use the embed tag in a Drupal 8 form?

I tried using the embed tag and the object tag to show a pdf in the middle of my form, but Drupal 8 won't display it. How can I do this? (I haven't seen any Drupal 8 modules that place a PDF on the page.)

Oh and I can't use the embedded google docs viewer module because I am not able to give google access to it.

Drupal 8 regions with and empty blocks

Hello all,

So I am new to Drupal and now trying to find my way in Drupal 8. I have problem with displaying my HTML based on if certain blocks are available.

I have the following code, showing a sidebar and content region. The sidebar is being filled with 'widgets' and 'subnavigation' based on the node.

How to retrieve entities from database ? (D8)

Hello,

I've created an entity in my Drupal 8 module with the console (drupal generate:entity:content). So i can use it, it's work but i need to use them in my code. But how to retrieve them ?

It's not nodes then i can't use this to get a parameter from my content :

Different accounts fields for different roles

Hello,

I'd like different fields to be displayed in a users account settings dependent upon what Role they had been assigned. Is this possible?

I'm using D8 and reading the forums it appears that this would be possible in D7 using a Field Permssion module but I can't find how to do it in D8? Maybe it is possible in core.

Any help would be appreciated.

Many Thanks

Steve

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x