How to display blocks according to the conditions of the current user ?

Hi, I have a Drupal 8.7 site with Drupal Commerce 2.14

I also installed TWIG Tweak module.

I want to display text based on certain conditions of the current user in my TWIG file.

Thanks for your help.

I write a comment for each condition I want.

Here is the code of my page :

Node data not shwing up

Changed the URLs from article/node-name to node-name. But no data showing up on the site although the links are there. Could you please help me fix that issue?

https://www.halaltimes.com/

Thanks and regard

URL Aliases Issue

I simply changed the URLs from article/node-name to node-name. I did it for taxonomies, categories and bl;ogs content types as well. However, the problem after all this exercie, my menu has become too wide.  Could anyopne please let me klnow how to fix that?

Thanks

How to back up and restore drupal 8

Hello,

I am trying to do back up and restore drupal 8 for the first time. After restore, site is broken about 10%. I got the most styling and lay out just fine. Few images are missing. I had a content type. Cant view any nodes of that content type but I have all the nodes (admin > contents). 

Below are the steps to do back and restore in D7. I have used the exact steps for D8.

1) On the source server, upload the backup and migrate module

2) On the source server, take a backup of the database using the B&M module

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.  

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x