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?: 
No votes yet
Ảnh của Tommy Tran

Tommy Tran 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
  • Phone/Zalo: (+84) 944 225 212
  • WhatsApp: (+84) 944 225 212
  • Line Messenger: (+84) 944 225 212
  • Email: asaleotestf@gmail.com
  • Telegram Messenger: https:/t.me/tommytran0401

Quảng cáo việc làm

 

Thích hợp các bạn nữ mảng thợ may làm việc tại nước NGA

Đơn hàng Tuyển dụng 100 Thợ may đi Nga(đợt 1 tháng 3.2021, đợt 2 tháng 5.2021). Lương thực lãnh 800 USD, bao ăn ở, vé máy bay và visa, phí xuất cảnh(1800 USD)trả khi đi làm có lương. Bạn có thể liên hệ CÔNG TY qua Phone/Zalo: (+84) 944 225 212. Công ty sẽ tư vấn cho bạn.

Xem chi tiết: >>> https://bit.ly/3o9NOfR

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

 
Sắp có phiên bản iOS và Android dành cho Nokia Music?

Sắp có phiên bản iOS và Android dành cho Nokia Music?

Theo Phone Arena, Nokia sẽ phát hành dịch vụ Nokia Music dành cho nền tảng iOS và Android trong tương lai, phá vỡ sự độc quyền trên các thiết bị của hãng trước đây.

Grunt, một Backend-free apps kết hợp jekyll, D3.js, nhanh hơn 96% websites khác

Grunt, một Backend-free apps kết hợp jekyll, D3.js, nhanh hơn 96% websites khác

Jekyll was used to create the actual HTML. Nothing too fancy here, but it served its purpose - generating the HTML that we'll later into GitHub Pages.

HTC Wildfire S Now Available Via T-Mobile

HTC Wildfire S Now Available Via T-Mobile

HTC Wildfire S was first unveiled during Mobile World Congress 2011 back in February. And now, the device is available via T-Mobile.