Drupal 8 -- patch, drupalpatch
The core of druapl may have vulnerabilities, so we need to patch them. Many patches have been written. Here I will talk about how to install these patches.
For this problem: the drupal8 core bug causes two identical error prompts.
1. Open the composer. json file in the outermost layer of the project.
2. Make sure "enable-patching": true
3. Add a patch in "patches "{...}
4. Add a patch in the following forma
Drupal modifies the Display menu link address
A Drupal system was originally put on the 192.192.192.3 to run,
Today, I moved it all to the 192.192.192.4.
But it is
There is a page http://192.192.192.4/mysite/?q=node/1
All hyperlinks below, pointing to http://192.192.192.3/******, are still being batched to the original server address.
Where would I like to change?
Thank you, sir.
It's this, I don't want t
In a recent Drupal project, we have a very strange problem: the total number of records and total pages in the search results page is always a wrong fixed number. This intriguing illusion has made us look for answers to the wrong questions in all directions, and we have been slow to make progress, but when we find the real problem, the result can be said to be surprising.
We first disable all custom development parts: Switch the theme back to Drupal'
This section learns if you are interacting with jquery in Drupal.jquery is built-in support in Drupal. exists in the Misc directory of the root directory.jquery is automatically loaded when the Drupal_add_js method is called.Embed JS code in the Drupal page1. Open the PHP filter module. The goal is to embed PHP code in the page.2. Create a new page.Note in the following text format, select "PHP Code",Fill i
There are two ways to install ckeditor here, but maybe the method is not only these two, in my study, I contacted these two methods, make a note here, my memory is now too "good" Drupal7.
The version of Drupal is 7.24.
Method One: Use the official CKEditor and IMCE
1. Install CKEditor module Https://drupal.org/project/ckeditor
2. Install IMCE module HTTPS://DRUPAL.ORG/PROJECT/IMCE
Download the two modules above, unzip to./site/all/modules, enable
Release date: 2012-10-08Updated on: 2012-10-09
Affected Systems:Drupal Lingotek Module 6. X-1.1Unaffected system:Drupal Lingotek Module 6. x-1.40Description:--------------------------------------------------------------------------------Bugtraq id: 51272Cve id: CVE-2012-1624
Drupal is an open source content management platform.
Drupal's Lingotek module has an XSS vulnerability that allows remote authenticated attackers to inject arbitrary Web scrip
Release date: 2012-10-08Updated on: 2012-10-09
Affected Systems:Drupal Video Filter 7. x-2.xDrupal Video Filter 6. x-2.xDescription:--------------------------------------------------------------------------------Bugtraq id: 51381Cve id: CVE-2012-1634
Drupal is an open source content management platform.
Drupal's Video Filter module has the XSS vulnerability, which allows remote attackers to inject arbitrary Web scripts or HTML through the EMBEDLOOK
Release date:Updated on:
Affected Systems:Drupal RESTful Web Services Module 7.xDescription:--------------------------------------------------------------------------------Drupal is an open source content management platform.
Drupal's RESTful Web Services Module has a security vulnerability and does not correctly verify certain HTTP requests. Attackers can exploit this vulnerability to perform cross-site request forgery attacks.
Link: http://secuni
The status is as follows:1. After clicking the "warranty" button, the page cannot be displayed normally and a blank page appears;2. Refresh the page and send out the items in the navigation that are no longer available. You cannot click the items that still exist to enter the normal page.After multiple tests, no problems are found. After multiple reinstalls and tests, an error page is displayed: "drupal Maximum execution time of 30 seconds exceeded da
This article describes how to install the Drupal Simplified Chinese Language Pack. This article describes how to install the Drupal Chinese Language Pack. For more information, see http://localize.drupal.org/translate/downloadsto download the latest drupal6chinese Language Pack.
Go to admin> site building> modules [admin/build/modules] to enable the Locale module.
Go to admin> site configuration> langua
Install lighttpd + php + mysql + Drupal In Debian-Debian information for the Linux release. Source: http://www.phecda.org/200803/install_lighttpd_php.html
Setting up a website in Linux is not difficult, but it is simpler In Debian.
Linux uses Debian and http server software uses lighttpd. It is a lightweight server software. Today, many cool stations have it. php is used for dynamic languages and mysql is used for databases, CMS uses
Memcach is a powerful tool for improving the performance of web applications and Drupal applications. Recently, Memcache has been used to find many minor problems. Therefore, the author has summarized several issues for your reference.1. Differences between Memcache and MemcachedThis is a historical issue, but in short, the name is even better!Therefore, memcached is recommended.In addition, memcached has many new features, including getMulti/setMulti
Here we will talk about the custom Chinese version of drupal, but there are still many characters that do not contain Chinese characters, which may come from a third party or do not need Chinese characters. At this time, we need to customize it ourselves.For example, I added a saved draft on the editing page, which is not conceptually different from the saved draft. Because they need to review the post, they need to submit it again, it is difficult to
The Hooks (hook) that is most commonly used in Drupal usage or development is hook_form_alter. The content creation, contact form, Menu, and, form hooks are used for user registration.Drupal Form HooksThe hook in hook_form_alter is directly replaced with your module name. The code is as follows:Copy code /*** Implements hook_form_alter ().*/Function custom_form_alter ( $ form, $ form_state, $ form_id ){Switch ($ form_id ){Case 'user _ profile
Introduction: This is a detailed page of The Drupal progress bar. It introduces the knowledge, skills, experience, and some PHP Source Code related to PhP.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 340018 'rolling = 'no'>
Drupal has a built-in batch tool with a percentage progress bar showing the operation progress.
The usage is as follows: Batch_set (b
The Module dependency of Drpal is quite high. Therefore, when developing a Module, make sure that a common Module has been installed. The following uses Drupal7 as an example to summarize common modules:
Drupal 7 Core already contains commonly used modules such as image and kipde.
Other required modules:
Views (http://drupal.org/project/views)
(Http://drupal.org/project/ctools)
Http://drupal.org/project/panels (Panels)
Editor
WYSIWYG Provides s
If you use imce in Drupal to upload images, by default, imce throws an image into the Directory Sites/default/files/U % UID (% uid indicates the user ID ).
It is not ideal to put images in this way. As the site creation time increases, the number of images will inevitably increase. It is difficult to manage images in a folder.
We can make certain settings in imce to customize the storage path.
From the Drupal
Problems with Drupal mailbox Configuration
Warning: fputs (): supplied argument is not a valid stream resource in F: \ Wamp \ www \ Drupal \ sites \ All \ modules \ SMTP \ phpmailer \ class. SMTP. PHP on line 212.An email cannot be sent. If this problem persists, contact the website administrator.
None of these methods. It turns out that the stmp server has written an error. I wrote a QQ mailbox,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.