Today, with Drupal, we have encountered a strange situation when installing ctools, kippers, views, and panels at the same time.
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 problem
Drupal does not provide the dpeth interface for the term by default, but we have other methods to obtain it. We will share two methods in this article. You can choose one that suits your needs.1: self-built functions are obtained through database query.Function get_term_depth ($ tid ){$ Limit = 9;$ Depth = 1;While ($ parent = db_query ('select parent FROM {taxonomy_term_hierarchy} WHERE tid =: tid ', array (': tid' => $ tid)-> fetchFie
The proverb: 工欲善其事, its prerequisite. There are a lot of skills in Drupal theme development, and learning these skills will have a multiplier effect. Today, we recommend how to debug the print out of the twig template variables, it may be a look! Oops,drupal 8! In the Drupal 8 twig template, you can find most of the commonly used template variables in annotations
PHPcode // Are you familiar with drupal? I want to insert a script into the user_authenticate function in user. module. what can I do? Functionuser_authenticate ($ name, $ pass) about adding js to drupal
PHP code
// Are you familiar with drupal? I want to insert a script into the user_authenticate function in user. module. what can I do? Function user_aut
Many people use Drupal to build multi-blog services. Therefore, remote publishing of a blog is essential. Drupal can achieve remote publishing by supporting XML-RPC tools, of course, it is more difficult to configure Drupal than private blog systems such as WordPress, the main steps are as follows:
Select administer> site building> modules> Blog blogapi in th
Drupal uses a node to represent the content by default. node is the most basic page element in Drupal. Almost all content can be called node. Of course, its URL is not friendly. The default format is as follows:
Http: // yourdomain/node/37
This type of URL does not clearly understand the nature of the page. It is best to set a regular alias for the page (alias ).To enable
Http://www.paangood.com/howtopurchase.phpHome> forums> other discussion areas> which Drupal VM space is the best for website creation?
Website Construction
Published by scapabc on Tuesday
Drupal6 + ubercart2 is used for e-commerce websites. There are about 1 GB of images and other files, and the MySQL database is about MB. I want to rent a virtual host space. I don't know which one can recommend a suitable host space for me.
I originally ren
; } location ~. *\.
(gif|jpg|jpeg|png|bmp|swf) $ {expires 24h; Access_log off; } location ~. *\.
(JS|CSS) $ {expires 24h;
Access_log off;
}
You can restart your nginx.
Drupal Nginx Rewrite rulesDrupal is written in PHP language open source Content Management framework, is commonly known as CMS, many people are using Drupal to build their own blog, here also to share the Nginx rewrite rules
Last month, the Open-source Content management system Drupal released a high-risk vulnerability warning that basically affected all Drupal sites or more than 1 million sites. The bulletin said that a remote code execution vulnerability was found within several subsystems of Drupal 7.x and 8.x, potentially causing the site to be completely compromised. Qihoo 360 R
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
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.