Drupal is an excellent open-source CMS. Its topic template customization function is also very powerful. Yesterday, I wrote functions commonly used in joomla templates. Of course, Drupal is indispensable. When developing modules, you don't have to
In the internal development standard of DrupalPHP 1.2, the preface is often said: "There are no rules, not a square ". Good programming styles and specifications are important to developers and project management personnel. When a software project
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
In the previous articles, we talked about how styles are loaded. You have learned that you can load style files through Theme.info, but you need to update the cache to be able to use them. Because of this, there is no way to dynamically load some
Indents and whitespace characters (indenting and whitespace)Use 2 spaces without using the TAB key for code indentation (notepad++, Eclipse and other editors support this configuration);
There should be no whitespace characters at the end of the
Indents and whitespace characters (indenting and whitespace)Code indents using 2 spaces without the TAB key (notepad++, which are supported by editors such as Eclipse);There should be no whitespace characters at the end of the lineshould use \ n
Block.info is the Block module description file and the ' package ' property tells us, block is Drupal core module and It can be configured by menu "Admin/structure/block". Block.install is executed when the block is installed. The purpose of this
PHP Array Strange problem
As follows:
PHP Code
$arr 1 is the data extracted from the database, Print_r out as follows: Array ( [0] = 30544 [1] = 30544 [2] = = 30532 [3] = 30550 [4] = 30544 [5] = 30544 [6] = 30532
PHP Array Strange problem
As follows:
PHP Code
$arr 1 is the data extracted from the database, Print_r out as follows: Array ( [0] = 30544 [1] = 30544 [2] = = 30532 [3] = 30550 [4] = 30544 [5] = 30544 [6] = 30532
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.