Drupal with VSCode

I have switched from Sublime Text to VSCode. I found this:

https://www.drupal.org/docs/develop/development-tools/configuring-visual-studio-code

and have configured VSCode as it instructs. 

My question, for others who are using VSCode with Drupal; is there an extension to give you the MySQL and PHP servers in VSCode, like LiveServer does with the web server, or do you use something like MAMP to provide those?

 

Module for job offers

Hi! Anyone among you knows if there is any module for job offers. The idea is to create a subpage on which job offers would be displayed.
At the top there would be a panel to search for a given job after entering the position we are interested in.

edit PL:

Hej! Wie ktoś z was czy jest jakiś moduł do ofert pracy. Chodzi o to, by zrobić podstronę na której byłyby wyświetlane oferty pracy. 
Na samej górze byłby panel do wyszukiwania danej oferty pracy po wpisaniu interesującego nas stanowiska.  

Non-tech folks pasting from Word issue - seeking a better way

Hello!  I need recommendations please on possible solutions to prevent non-tech folks from pasting MS Word doc formatted tables into Drupal 8.  They do not know html, so they are pasting Word-formatted text into the WYSIWYG, which means I have to go back in after them and remove all of Word's in-line styles and other Word junk code, then add in accessibility code.  I'd like to avoid the mess and provide them with some sort of a template that can be used as a Word doc that is formatted exactly the way I need the content to be pasted into Drupal.  Is this possible?  Is there a better option? 

How to fix/troubleshoot 'User error: "name" is an invalid render array key.'

I am trying to port a Drupal 7 theme to version 8.7.10. I am currently encountering the following error:

User error: "name" is an invalid render array key. in Drupal\Core\Render\Element::children() (line 97 of /opt/drupal8.10/core/lib/Drupal/Core/Render/Element.php)

In the process of converting my theme, I have done the following:

- I copied over my drupal 7 theme to the 'themes/custom/' directory under my drupal 8 project root

How to display a text in a template if the view does not have a result ?

In my theme, I have a template for my home page-front.html.twig

I insert a view on this page with the following code :

{{ drupal_view('message_activity_stream_timeline_private', 'block_1') }}

I want that if the view has no result, there is the following text :
 

MY CUSTOM TEXT

How to create this condition in the template ?

CKEditor is deleting some of my content when I edit pages

I've got a client who likes to make long pages with embedded images, but there's a problem with the editor on their site that has been causing them and me months of frustration. They can add one image to the body of their article without a problem, including a caption and an alignment. And if they add a second image it also works fine. Until they try to edit the page.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x