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

 
Học Drupal Seo qua 11 khái niệm của www.litado.com

Học Drupal Seo qua 11 khái niệm của www.litado.com

Với gần 400 khái niệm, kỹ thuật, thuật ngữ kinh điển về Seo, Adwords, Analytics, Webmasters Tool, Hosting, Domain....được cập nhập mới nhất cùng với các phần mềm

7 bước xây dựng  Responsive Theme trong Drupal 7

7 bước xây dựng Responsive Theme trong Drupal 7

Based on the grid system and the nature of your design, download grids from http://960.org. In the case of the RoboSmart theme we have used a single grid at 600 which is fluid and works for any screen resolution greater than 600px.

Cách khắc phục nếu Chrome hoặc Firefox bị treo liên tục

Cách khắc phục nếu Chrome hoặc Firefox bị treo liên tục

Chắc hẳn trong quá trình sử dụng Firefox/Chrome, bạn từng gặp phải hiện tượng trình duyệt bị đứng và ngừng hoạt động. Những thủ thuật nhỏ sau đây sẽ giúp bạn khắc phục điều đó.

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

 

Diet con trung