formatted html

i have a view(block) on mi site that is a slider on my homepage. but the text in the slider is just plain text. I wan to have the text as full html..

the body field is full html and in my view the field is set as default.

the code that generates the slider is this

Cannot apply patches with Composer in Drupal 8.9

I just created a new site and I cannot apply the patches with Composer in Drupal 8.9

Here is my composer.json file :

How to create a php block

Hello, 

I like to display a php block. I think in D7, I was able to create a php block(structure > block > text format  drop down - selected PHP.

Under config > text format > I do not see php to configure. 

How can I create a block(structure > blocks > add block > basic block > select PHP filter) to create a php block?

For now, I like to create a php block to display the user name. This is the code I have. 

$account = user_load(1);

$display_name = user_format_name($account);

Thanks!

How to give admin tool bar access to a role

Hello, 

I created a custom role "manager".

I created a content type "houses".

When the manager logs in,  I like the manager to see the tool bar to manage the nodes(add, edit, delete, etc.) plus more.

Under people > permission > I have given permission to the manager as follows:

- administer menus

- administer the content types

- use tool bar

- create, edit, delete, publish, and un-publish the content type

- administer users. 

Product translation not working with Drupal commerce

Hi, 

I'm new in Drupal and I inheritate to a custom module to do a checkout with Drupal commerce. The website has two languages, french and german and when I check my basket in the checkout page the product name is only in french (the default language)

The checkout is initialized like that: 

Change colors, fonts and size fonts etc in Theme- Newbie

Hello out there!

Well im here in the Drupal world which seems really attractive for web site building

Ive just start building websites a month ago, i know its a silly question but i should ask it because there is a need for site customization

Im using the Newspaper+lite theme  and i want to change the base color and fonts of he theme by adjusting the color default css file

i have made some color changes over the previous css file but without any change result

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x