Varnish is a high-performance open-source HTTP accelerator that is relatively complex to use, especially when used with drupal. Now let's record the detailed settings for Drupal7 with Varnish. tutorial preparation environment first install a brand new Drupa... varnish is a high-performance open-source HTTP accelerator that is relatively complex to use, especially when used with
For details about how to create a module, see Drupal 7 module development and establishment.
If you want to support Chinese characters, the file format must be saved as UTF-8, no BOM
------------------------------
Hook_help provides help information for this module. We shoul
Related articles:Drupal Module Advanced application authcache-dynamic loading content tutorial Authcache module and boost module are not the same principle, boost module is to generate static pages, so the best caching effect, the fastest. Authcache
Preparing the Environment First install a new Drupal, recommend the use of Drush installation, convenient and rapid. First build a database, remember the user and password. # # #进入mysqlMysql-uroot-pCREATE DATABASE ' mydb ' CHARACTER SET UTF8 COLLATE utf8_general_ci;GRANT all in ' mydb '. * to ' username ' @localhost identified by ' password ';### #退出mysql drush installation Drupal7: Drush DL drupal-7.x; #-
For details about how to create a module, see Drupal 7 module development and establishment.
If you want to support Chinese characters, the file format must be saved as UTF-8, no BOM
------------------------------
To create a separate table for your module, you need to useHo
Drupal allows third-party modules to create their own hooks. In general practice, there are two types of hooks you may want to create, one is the content modification class hook, the other is the interception class hook. Drupal's hook system allows interaction with modules and changes the logic of other modules.... Drupal allows third-party modules to create their own hooks. In general practice, there are t
Related article: Drupal module explain-authcache caching principle detailed tutorial
This article is about how to implement the personalized content of a cached page if you modify Authcache's core code.Advanced application authcache-Dynamic loading content tutorial "/>Common cache, more or less to be personalized proc
Drupal simplified Chinese language pack installation tutorial, drupal installation tutorial. Drupal simplified Chinese language pack installation tutorial, drupal installation
Drupal Simplified Chinese Language pack installation tutorial, Drupal installation Tutorial
Download address: http://localize.drupal.org/translate/downloads, download the latest DRUPAL6 Chinese package file
Enable the Locale module to Admin->site building->modules [Admin/bu
There are many development tools for Drupal, and Drupal for Firebug is also an important Drupal development tool in addition to the Devel modules mentioned in the Drupal Common development
I believe that many developers have started exploring drupal8-download and install the beta version of drupal 8. Developers who haven't started to try drupal 8 can clearly tell us that we will have many new concepts to understand, understand, and use. When we try to write a drupal 8 module, we also need to know a l
with this menu (which was previously created), when you empty the cache, and then enter the browser address: http://example.com/admin/ Structure you should be able to see a new menu title and description, and this link is linked to Demo/path, how's that good? Conclusion In this article, we begin to discuss the module development of Drupal 8, at this stage (Al
We have learned about the module's Yaml file by using the Drupal8 development tutorial: Understanding. info.yml file, and today we look at how to add a new page in the way of module development.In Drupal 7, it is very simple to add a new page through a module, using the Hook
Original article: http://blog.sina.com.cn/s/blog_48a770da0100gam5.html
Rare and rare Chinese Drupal view detailed tutorial, transferred from http://www.cc.ntu.edu.tw/chinese/epaper/0009/20090620_9009.htm
Author: programming organization for Educational Research Groups at Tang xuanyuan university computer and network-based Education Center
In this article, we will introduce?The large functions an
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... Reply: 1. your understanding of Drupal. If you do not
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 is an open-source content management system (CMS) platform written in PHP. It is mainly used to construct dynamic websites that provide a variety of functions and services, including user management, publishing workflow, discussion, NewsAggregation, and Metadata) for more information, see Drupal.
According to Baidu Encyclopedia, Drupal is an open-source co
Drupal's visual control is the most flexible and customizable, but this system is complex and not intuitive enough. In addition, some authors who are not fluent enough often write obscureDrupal topic advanced featuresAnd so on, the passion for Theme learning is completely broken down. This article will introduce the principles, distribution, and usage of Theme from a relatively simple perspective.Working Principle
Drupal is still a PHP-based CMS. All
'
);
// Error
Array (
Name => myname,
Type => mytype
);
?>
3.2 do not use the default method to test variables/functions
// Correct
If ($ user> 0 ){
//
}
If (arg (1 )! = ''){
//
}
// Error
If ($ user ){
//
}
If (arg (1 )){
//
}
?>
3.3 file structure rules
The drupal module development rules are as follows (take the
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.