How to display link title only on node

Hello, 

I have a content type with a link field. 

I created a node using the content type. For the link field, I added link text and url. 

Manage display for the link field does not have any option to display the link title only. It has option to display URL only. 

How can I only display link text/title only on node which will redirect to the actual URL?

https://ibb.co/jTGChDt

Thank you!

Replace valid_email_address in custom module

Upgrading from Drupal 8.9 to Drupal 9.2.7 and I've run into an issue with a custom module that was created by a past developer.  The error has to do with valid_email_address.  I see that it was deprecated and then removed according to this link (https://api.drupal.org/api/drupal/core%21includes%21common.inc/function/valid_email_address/8.8.x)

Path alias converts ? mark to %3F and equal sign (=) to %3D how to correct this?

Hello,

I have an alias listed as /test/?vid=specialbook8 for a node and when when I check the path alias at /admin/config/search/path it shows  it correctly as /test/?vid=specialbook8 but it points to /test/%3Fvid%3Dspecialbook8 converting ? mark to %3F and equal sign = to %3D . It seems the php htmlspecialchars() function filters the path. 

How can I fix it? How can I enter it so the actual path is /test/?vid=specialbook8

The website encountered an unexpected error. Please try again later. when trying loggin

Hi,

my drupal 8 website is working well,

as admin i cannot logging now,

the password is correct , but when i push on the login button,

it returns this error message : The website encountered an unexpected error. Please try again later.

It s the first time it happens since 8 years,

is it possible after trying logging with some wrong passwords ?

before i did some cache clearing !

Thanks in advance

Updating production site

Hi, I'm new to using Composer.

I have updated modules and core updates locally via Composer on our development server and not planning to run Composer on the production server (Azure). Can I please know what will be an alternative to deploy updates to production site and running database updates?

I'm planning to use Git to do the above process and run update.php on the production site. Are there any beginner level articles to learn about how Git can be used for this?

Class PHPUnit\Framework\TestCase not found.

I am upgrading a lot of inherited custom module projects to Drupal 8. In almost all of them, I am getting this error when scanning them with Drupal 9 upgrade status:

Class PHPUnit\Framework\TestCase not found.

I've Googled, and even found an accepted answer on StackOverflow.
But I am not able to figure out what to do.

My PHP version is 7.4.3.

I 've tried to install phpunit.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x