question about setting up media library for use with WYSIWYG

so I got media module and media library module setup and I have the media library button in CKeditor.

how to customize the display of embedded media?

as of now, when I insert a picture, it just inserts a full width picture, there are no options to adjust size, no option to link to the original picture, etc.

similarly, when I insert a PDF, it just shows an ugly full-width black-and-white "document" icon, no link to original document, nothing.

also no way to add a custom style

did I miss some steps in the configuration?

Installing 8.9 on AWS Lightsail

One of my sites has out-grown bluehost so I wanted to try out Amazon's AWS, starting with Lightsail.   The default templates make it easy to set up a legacy architecture with Maria.  I want to user composer-recommended as that is how my site is currently designed.  I've almost been able to install a site except for the mysql connection.  I created a LAMP instance and installed the basic Drupal site code with composer. I have not been able to link a database to the install, however.

Altering a node link title in Viewbuilder; #pre_render

My custom block gets multiple nodes and uses ViewBuilder to render these nodes. The node titles in this block are linked to the canonical route. That works for a default but my customer wants to link to an external link if that attribute has that value. So I'm incorporating TrustedCallbackInterface in my custom block to build a pre_render callback. But I'm getting an unexpected error:

Parameter 1 to Drupal\mymodule\Plugin\Block\MyBlock::changeUrl() expected to be a reference

Here's an excerpt of my custom block

Meta tag module does not load node tokens

Hello,

Config > Meta tag > Global or frontpage or content > browse available tokens > Does not show any node tokens. 

I googled but did not find any answer. 

Thanks!

Login to drupal 8 from a php script

Hallo, scuse for my English. I need to’ login to mysite using a php script. I have trouble with the password. 
I need crypt the clear password in the encrypted to query the table users_field_data and i read that si possible through password-hash.sh but i can not understand how it’s done. Please help me ... thanks 
 

Permissions to view other users content

I am making a website where I have a number of expert bloggers. A user can then subscribe to one or more expert's blog. Users without a subscription to the author should not be able to see the content.

I need a few good suggestions on how to control the permissions.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x