From the course: Drupal 9 Essential Training: 3 Taxonomy, Media, and Modules

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Open external links in a new tab or window

Open external links in a new tab or window - Drupal Tutorial

From the course: Drupal 9 Essential Training: 3 Taxonomy, Media, and Modules

Start my 1-month free trial

Open external links in a new tab or window

- [Instructor] So we have the linkit module working in our CKEditor. When you click to make something into a link, it now uses either an internal or an external URL but that doesn't solve the problem that I actually mentioned earlier. The fact that there's no way to open links in new tabs or new windows. And frankly, you should never allow an external link to take somebody away from your site. You should always open them up in a new tab or window. Well, there are several modules that kind of manage some of this for us. The external links module works with linkit in a really nice way. So we're going to download this one and install it. All right, now we have installed modules via the file upload, via the copy and paste URL and by manually uploading the project files into our modules directory. This next way is using Composer and by far, this is the preferred way with Drupal 9. Composer is something you need to install…

Contents