updating journal8 theme with data to 8.6.1

Hello,

I am getting "The website encountered an unexpected error. Please try again later." after updating to 8.6.1 instead of showing website home page.

Can anyone help me to find a solution?

This is the contents of error_log file 

Incorrect ajax response & webpage data

Hi All,

I am new to Drupal & currently working on its version 8. I noticed that an additional <div> tag is appending with each ajax request due to which the JSON response becomes malformed. Because of this issue, all the ajax requests of my website are not working properly even if it has correct response. 

Also, the tag appears after closing tag of HTML i.e. </html> of each page of website.

This is the tag -

Issues with updating multi-site configuration

So here's the background of it all. I'm running a multi-site configuration on Windows 10 with IIS 10, MySQL and PHP. I was having issues getting from D8.5.3 to D8.6.1. I've never had any issues updating the core before, so this is stumping me. 

After the issues started I rolled back to my original version (8.5.3) and started going incrementally version by version, thinking there was a DB update somewhere that did not take place.

Taxonomy term field in twig template

Hello-

I'm new to Drupal and do not have any experience with twig and very little experience with PHP. I'm a front end developer. 

I created a content type called Events which has 2 entity reference to a taxonomy term. 1 of the taxonomy term is called Venue and it in has the address field. How do I pull the taxonomy's address field value into my node--events.html.twig template? 

I searched online and was able to get the taxonomy term title and that's it: {{ content.field_venue[0]['#title'] }}

Thanks,

Amy

User File Upload Path

Hello once again!

Recently I have been able to setup my site so users can upload media files to AWS S3, and it's currently using the default Drupal 8 file setup of organizing by month and year (sites/default/files/2018-09). Though I have configured my site so that they can only view their own content, it would be a nice touch if user files where uploaded to a unique user  directory (/files/user1, /files/user2) instead of one collective directory.

Not sure if this is doable with a module or may need some custom code.

Any suggestions would be appreciated .

Solved - How to modify custom field data before storing / retrieving

Hi everyone,

I am new to the drupal module development and trying to set up my first custom field type.
The user input for this field should be modified before stored in the database and therefore also be modified before retrieving.

I don't want to use the viewElements() method of the FieldFormatter as the field data should be used for other database queries (outside of drupal) and therefore the database entry should be modified.

Hope anyone got an idea how to handle this

Thanks and kind regards

Matthias

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x