Node ID token

Hi.

Would it be possible to get a token of ID of a current node?

Where can I find a list of tokens supported by core?

Thank you.

8.1.1: ckeditor image and link creation: error for user, ok for admin: ajaxSubmit is not a function

I just went live with my 8.1.1. (pure core installation) with forum module (and more, but all core).

upload inline body image on forum comment: only ok for admin.
For non admin: error message: An error occurred while attempting to process /editor/dialog/image/basic_html?element_parents=fid&_wrapper_format=drupal_modal&ajax_form=1&_wrapper_format=drupal_ajax: ajax.$form.ajaxSubmit is not a function

upload inline body image on node: ok (even as non admin)

Updated Drupal 8, now forbidden.

I tried to update via FTP. I deleted all my files except my "sites" directory, and added all the files from the extracted download. I now get the error

Forbidden

You don't have permission to access / on this server.

If I delete the .htaccess file, i then have access to my base directory in my browser, but all the configuration and administration is broken. Any thoughts?

How do I modify my content type's add and edit form in Drupal 8?

I have searched for a solution to this but haven't been able to find one. I am using Drupal 8 and would like to have my users create nodes from a specific content type.

I have managed to create a template override for my "Auto" ("Car") content type by creating "page--node--add--auto.html.twig" but I am having a bit of trouble modifying the edit form. I would like to create columns for the fields (for which I am using Bootstrap) and style the form according to my needs.

Translate a content

Dear all,
Since I'm new to Drupal, I have a problem in translating some content of a website to a drupal content.

Basically the page is structured like this (basically there are 3 fields):

- A reference to one or more webcams (the webcam is a kind of global resource/property of the website): these contents are defined one time and reused on several pages in the website. The fields that are related to that webcam content are 3: webcam name, webcam owner, webcam image url.

- A reference to an image (updated remotely every 5 minutes)

- A generic HTML body

Custom footer behaviour

Dear all,
I would like to create a custom behaviour for a footer menu. I'm using Drupal 8.

Basically I have a block called "Footer". Inside that block I have to put an arbitrary number of columns (1 to 5) containing a list of links (menu), a title and an icon.
So, each column has a title and a reference to a specific CSS class to select an icon, plus a reference to a list of links (a menu).

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x