The topic development of drupal6 and drupal7 is quite different. This Guide contains these differences
The default topic of drupal7 is bartik and 6 is Garland.
How does Drupal's Theme system work?
This section mainly describes how Drupal themes work, the composition and settings of themes, and the. info file and template page. This section is the starting point for creating a custom topic.
Topic file Overview
A topic is a set of files that define
Drupal 7.14 About Drupal:
"Drupal is an open source content management platform powering millions of websites andApplications. It's built, used, and supported by an active and diverse community of peopleAround the world ."
Drupal is used by common companies like Ing/Diba, Amnesty International and The White House.
Issu
used for text that may change from time to time (such as link paths) to be changed without requiring updates to translations.In the text, "placeholders" can be used to identify "Dynamic Information" that does not need to be translated (such as the number of online users of the website), and "placeholders" can be used to identify content that rarely changes, even changes do not affect the "Dynamic Information" that you understand"
For example:
There are three styles of placeholders:Placehold
I. materials:
Download Drupal https://www.drupal.org/download
Https://localize.drupal.org/translate/languages/zh-hans Drupal translation package download
1. There are no major problems with Drupal installation.
2. Translation
Enable module locale
Configuration-> languages
Import a Language Pack
Ii. Common configurations
1. Default Time Zone (configuration-"regi
The Block Function of Drupal can be embedded in HTML and PHP code. It is convenient and flexible to control display based on permission and URL matching. However, it is a habit to use the layout format of mediawiki, it is sometimes inconvenient to add a block under the title (the header block is at the top of the page by default ).
A few days ago, I knew that more blocks can be added in addition to the default block location of the garland topic in
Block refers to the containers of various content on Drupal pages, such as "Recent posts", "mirror sor links", or "Who's online". Menu refers to the menu bar of the registered user, usually on the left of the user page. Drupal cookbook has a detailed explanation of the two terms:
Block: This is a "container" for pieces of content on your displayed page. You may also have "Recent posts," "Using sor links,"
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 useHook_schema
Table Name: myform
Function my_first_module_schema () {$ schema ['myform'] = array ('description' => 'first Form ', 'fields' => array ('id' => array ('type' => 'serial
Using Drupal does not seem to need to understand css, javascript, PHP? Trial nbsp; Drupal, nbsp; looks like nbsp; no need to understand nbsp; css, nbsp; javascript, nbsp; PHP? Because nbsp; modules nbsp don't seem to need to understand css, javascript, PHP?
Try Drupal. does it seem that you do not need to understand css, javascript, and PHP?
Because m
/*** Reverse proxy configuration:* Reverse proxy servers are often used to enhance the performance of websites with large loads and provide additional site cache and security benefits.* After Drupal is deployed with a reverse proxy server, Drupal's logs, Statistics, and access control systems all need to obtain real user IP addresses.* Generally, the reverse proxy server adds the X-Forwarded-For header
In a recent drupal project, we encountered a very strange problem: the total number of records and the total number of pages on the search results page is always a wrong fixed number. This confusing illusion allows us to look for answers to questions in the wrong direction, and we are not making any progress. However, when we find the real cause of the problem, the result can be said to be disappointing.
First, we disabled all custom development parts
Drupal, Html, PHP and CSS have never been used, beginners, a week later can be qualified to work?
Creates and Updates Web pages for publications, seminars, and conferences.
The job involves requirements gathering, development quality checking of the website.
Website is developed and maintained in Drupal, Html, PHP and CSS.
Let me maintain a website, but I Drupal
This loophole broke out yesterday, today only time to see the code.In Drupal, the execution of SQL statements is done using the PDO model, which generally avoids most injections because the use of placeholders limits the syntax of SQL statements.But this does not mean absolute security, such as the loophole.In Drupal's user module, find the User.module:$account = Db_query ("select * FROM {users} WHERE name =: Name and status = 1", Array (': name ' = =
Release date:Updated on:
Affected Systems:Drupal User Read-Only Module 7.xDrupal User Read-Only Module 6.xDescription:--------------------------------------------------------------------------------Drupal is an open source content management platform.
Drupal 6. The x-1.x's User Read-Only module mistakenly assigned a role when performing some operations, and can get administrator privileges after successfu
Drupal installation process Drupal
The entire installation process is very simple, as described in install.txt, because I want to make the website all adopt UTF-8 encoding, so you need to do the following special steps:
1. modify include/database. mysql. inc. add code in 33 lines:
@ Mysql_query ("set names UTF8 ;");
Its role is to let the PHP program in the entire database operation process, are using UTF
To prevent data loss caused by web server faults, database backup is very important to avoid major losses. This article analyzes and studies the backup policies for small Drupal sites and the mysql backup policies for large sites.
For small and medium-sized websites based on drupal, we can use the backup_migrate module, which provides the regular backup function, backup time, number of backups retained, an
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
This article describes how to install the Drupal Simplified Chinese Language Pack. This article describes how to install the Drupal Chines
This article introduces how to use Drupal cms to send a file through cURL Post.
As we all know, PHP cURL extensions can be used to simulate form submission. Drupal has the drupal_http_request function to execute an HTTP request. It can send a file via POST, but it is not as convenient as cURL. Here we will mainly explain how to Post a file to a remote server address in
Everything follows the principle of Simplicity. yumrpm can be used without manual compilation. The deployment environment is based on the CentOS6.3x86 _ 64 system. 0. Preparations # update yum [root @ imysql ~] # Yum-yupdate [root @ imysql ~] # Yuminstalllibaio-devel.x86_64 # drupal8.0 need to use the curl module [root @ imysql ~] # Yum
Everything follows the principle of Simplicity. yum/rpm can be used without manual compilation. The deployment environment is based on the CentOS 6.3 x86_64 syst
Drupal installation process Drupal
The entire installation process is very simple, as described in install.txt, because I want to make the website all adopt UTF-8 encoding, so you need to do the following special steps:
1. modify include/database. mysql. inc. add code in 33 lines:
@ Mysql_query ("set names UTF8 ;");
Its role is to let the PHP program in the entire database operation process, are using UTF
Finally abandoned Drupal put into the WordPress camp, haha. WP is really better than DP, here to save 500 words ...In the past has been tangled how to migrate, after the migration of old data how to do, there is no smoothing scheme, want to break the head have no idea, several times moved the idea of migration, several times and was wiped out. DP notifications can be upgraded from 7.22 to 7.23 a few days ago, but the upgrade is unsuccessful in any eve
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.