Hướng dẫn Apply Drupal Patches với Patch Manager

Hướng dẫn Apply Drupal Patches với Patch Manager

Have you ever updated your Drupal site only to suddenly have errors?

>> Sử dụng parallel processing để tiết kiệm time importing databases

>> Hướng dẫn Drupal 8 Theming Fundamentals phần 1

>> JSON hay XML - API nào tốt nhất trong Drupal

If you use Drupal regularly, this will happen to you at some point. One common way to solve an error is with a patch. A patch changes the code on your site, but only by editing a file rather than providing a complete update.

However, applying a patch isn't easy for non-coders. Many of the available instructions for applying patches ask you to use an application called Drush and to use command line instructions. These instructions can be intimidating, so we're going to show you how non-coders can safely apply patches using the Patch Manager module.

  • First, find the patch that you want to download. In this example, we're going to use this patch for the Facetapi Slider module.
  • Save the patch file to your desktop. In this example, I'll save the file with the name "term_query_support-1347348-11.patch"

Easily Apply Drupal Patches with Patch Manager

  • Install and enable the Patch Manager module.
  • Go to Structure > Patches.
  • Click the "Add" tab.

  • Patch name: Enter a name for this patch
  • Patch file: Upload the file you just downloaded
  • Module: Enter the system name of the module you're applying the patch to. One easy way to get the name is from the URL of the module's Drupal.org page. So the system name for the module is facetapi_slider because the project is hosted at https://www.drupal.org/project/facetapi_slider
  • Click the Save button.

You'll see that the patch has been saved, just like a content item:

Go to Structure > Patches and we can now apply the patch:

  1. Select the patch you just uploaded.
  2. Select "Apply patch" from the dropdown menu.
  3. Click the "Execute" button.

Congratulations, the patch has now been applied. If something goes wrong, you can always revert the patch to undo your changes:

 

Bạn thấy bài viết này như thế nào?: 
Average: 5 (2 votes)
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Bình luận (0)

 

Add Comment

Filtered HTML

  • Các địa chỉ web và email sẽ tự động được chuyển sang dạng liên kết.
  • Các thẻ HTML được chấp nhận: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Tự động ngắt dòng và đoạn văn.

Plain text

  • No HTML tags allowed.
  • Các địa chỉ web và email sẽ tự động được chuyển sang dạng liên kết.
  • Tự động ngắt dòng và đoạn văn.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 
Tạm biệt nỗi “ám ảnh” dấu vân tay trên màn hình điện thoại

Tạm biệt nỗi “ám ảnh” dấu vân tay trên màn hình điện thoại

Nỗi khó chịu của người sử dụng thiết bị có màn hình cảm ứng do việc để lại dấu vân tay khi thao tác chạm có thể sẽ không còn là nỗi “ám ảnh” nữa khi mà các nhà nghiên cứu ở Đức vừa có một phát hiện thú vị.

Showbiz - hot girl bánh tráng trộn nói không

Showbiz - hot girl bánh tráng trộn nói không

Cuối tháng 11/2013, Bảo Chi - cô nàng hot girl bán bánh tráng trộn bất ngờ nổi lên như một hiện tượng và xuất hiện nhiều trên các phương tiện thông tin đại chúng. Điều khiến Chi được mọi người tò mò vì một cô chủ hàng bánh tráng trộn bình dân lại có thân hình khá chuẩn, gương mặt đáng yêu, làn da trắng trẻo, mịn màng đặc trưng của con gái vùng núi Đà Lạt.

Sao chép bản quyền - Nạn nhân vụ này, hung thủ vụ kia

Sao chép bản quyền - điều đó có thực sự quan trọng khi những người khác cũng đang sao chép Apple và Apple cũng đang sao chép chính những người khác.

Công ty diệt chuột T&C

 

Diet con trung