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: 4 (3 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

 
Kindle Fire đã chạy được Android 4.0 Ice Cream Sandwich

Kindle Fire đã chạy được Android 4.0 Ice Cream Sandwich

Một thành viên mang tên g1011999 của diễn đàn xda-developers tiếp tục gây bất ngờ bởi tìm ra cách cài phiên bản mới nhất của Android lên máy tính bảng Kindle Fire của Amazon.

Hướng dẫn nâng cấp PHP lên PHP 5.5 cho Drupal 2015

Hướng dẫn nâng cấp PHP lên PHP 5.5 cho Drupal 2015

Sean Hamlin makes the case for upgrading. I know I have seen improvements from upgrading a few servers I manage.

Xử lý tình huống gặp nạn với thuốc xịt côn trùng

Xử lý tình huống gặp nạn với thuốc xịt côn trùng

Tương tự, nếu bị vấy thuốc vào mắt cần ngâm mắt vào nước ngay. Nước sẽ làm loãng nồng độ thuốc và giúp làm giảm sự kích ứng.

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

 

Diet con trung