How to customize a link with a custom module ?

I installed the "Private Message" module on Drupal 8.

There is a link to send a message that I want to transform into a Bootstrap button.

How to customize a link on Drupal 8 ?

Here is the HTML code of the link :

<div class="private_message_link_wrapper"><a href="/private_messages/9" class="private_message_link">Envoyer un message</a></div>

The developer of "Private Message" gave me this code, but I do not know what to do with it.

How to display a user's view in the page of my store ?

In the user account, I created 2 display group_default and store_default

I want to display `group_default` on the page of my group.

I added the code below in the template of my group and it works.

    {{ drupal_entity('user', group.uid.target_id, 'group_default') }}

I would like to do the same thing on the pages of my stores with the display store_default

Need help understanding Composer Drupal 8 install / GIT workflow

I'm a noob here with both Drupal and GIT.  My short term goal is to build a personal web site and learn about GIT / Drupal workflows for work (larger sites).

To create my projects I'm using:

composer create-project drupal-composer/drupal-project:8.x-dev my_site_name_dir --stability dev --no-interaction

Here's where I'm at:

- Local environment is set up with MAMP and starter Drupal site is up and running via a Composer install on local. 

Failure with update.php 'unexpected error'

Hello,

Drupal is new to me and I am trying to make my first Drupal website using Drupal 8, Drupal Commerce and the Demo (with belgrade theme).
When I make the update for a module it works well until the page update.php/selection. I have this message " The website encountered an unexpected error. Please try again later. ".
I went to the log and I found the following error message, but I don't undestand what to do.

(I don't know how to use composer)

Can not get rid of a quicktab title

Hello All,

I have made a website by using a premium Drupal 8 theme. The support period is already expired.  The website is as follows.

www.halaltimes.com

On the site somewhere beneath the news section on the left side, there are four quick tabs titled Fashion, Health, Food, and Music.  I have tried to change the title Music to, say, Finance, in the Views area. However, I have had no luck so far. Could anyone please suggest to me how I could change the title to my liking?

Thanks and regards

Control Block Visibility

Control block visibility based on custom condition, I can achieve this via blockAccess or Plugin evaluate. could you please suggest which approach is best for performance vise?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x