[Solved] Entity reference: category missing from drop-down menu?

Solved this. Though I couldn't find a way to use the machine name "category", I was able to create a new field_category, use an entity reference to the Taxonomy and then change the display options.

Adding a field to a Content Type

Home > Administration > Structure > Content types > CustomType > Manage fields

Trying to Re-use an existing field: Entity reference: category, but this option is missing from the drop-down menu. Any ideas why it is missing and how to get it listed?

What are the "#pound" keys in the controllers?

Hello,

I've seen in tutorials that when you create a controller, you output content something like this:

return array("#title": "Hello", "#markup": "Whatever goes here");

So here, I am referring to the keys "#title", "#markup", etc. I noticed there are other similar keywords, which I'm sure somehow relates to where and how Drupal outputs its content to.

Experience Community Website

Hi everyone,

I am new to Drupal and I was wondering if it would be a good fit for a community website with the following features:

- Create different groups (or organizations)

- Create news associated with the organizations

- Create events associated with the organization

- A page that lists all events of all groups that can also be filtered by group

- The possibility for members to join groups and receive emails after new events are posted

Mapping d8

I am pretty sure that this post exist already but I can't find it. 

Drupal 8. 

I need to make a content type where user can enter and address, for exemple "13 Rue du Pilier, 93300 Aubervilliers, France" with if possible suggestions from Google Map/Place. Once they click save, it will load the page with of course the address and a map showing the exact point they enter. 

I have done that in D7, but for the h**l of my brain, I can't make it happen in D8. So what should I do?  Any tutorials I should read/watch?

TIA

site_name.theme

Hi,

I was wondering if there is any way to add, in a class that drupal creates,

something that I want from site_name.theme with a function.

For example let's say that I develop a site with bootstrap and some content created

by drupal don't have the bootstrap classes and I want to add them in the class.

How i can do this?

Is it possible to store a managed_file in my custom module?

Hello friends,

I have a form input that looks as follows:

        $form['listing_logo']['dbl_logo'] = array(
          '#type' => 'managed_file',
          '#title' => 'Image',
          '#description' => 'Select a logo to upload',
          '#upload_location' => 'public://upload/business_listing/logo',
          '#required' => FALSE,
        );

Is there a way to set the "#upload_location" to store the file inside my custom module?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x