drupal how to

Discover drupal how to, include the articles, news, trends, analysis and practical advice about drupal how to on alibabacloud.com

Drupal API-T ()

check_plain, to escape HTML characters. Use this for any output that's displayed within a Drupal page.@ Variable: encode the special characters contained in the text so that they can be displayed on the page. We recommend that you use this mode to display the text on the Drupal page. % Variable, which indicates that the string shocould be HTML escaped and highlighted with used automatically by T (). "h

Drupal7 Lesson 1 Drupal download and Installation

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

Add a custom region (region) Placement block in Drupal)

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

Customization of blocks and menus in Drupal

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,"

Drupal 7 module development and creation of a custom table (table) (hook_schema)

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, and PHP.

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

A simple solution is to solve the problem that Drupal cannot correctly obtain the IP address.

/*** 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

Be careful when setting block views for paging in Drupal

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? How to fix it

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

Drupal 7.31 SQL injection Analytics and POC

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 ' = =

Drupal read-only module Security Bypass Vulnerability

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 _ MySQL

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

Small Drupal database backup and large site MySQL backup policy sharing _ MySQL

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

Drupal Simplified Chinese Language Pack Installation tutorial

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

Drupal sends an object through cURL Post

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

Quick deployment of nginx, php-fpm, and drupal in CentOS6.3

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 _ MySQL

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

New station first article, migrating Drupal to WordPress

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

Drupal Tutorial: CMS Content Management System

The first candidate version of Drupal 8.2.0 was released, and we adopted a semantic version and a regular release during the Drupal 8 update, and made significant changes (basic tutorial qkxue.net). Drupal 8 also provides backwards compatibility in a timely manner. Drupal 8.2.0 is the second such update and is expected

Drupal Ajax JSON asynchronous call

Original http://hellodrupal.info/node/149 Module file structure: Sitemode.info Sitemode. Module Test_ajax.js Sitemode.info ; $ ID $ name = sitemoddescription = a content type for jokes. Package = pro Drupal developmentcore = 6.x Sitemode. Module PHP Function Sitemod_menu (){ // Create a module sitemod $ Items = Array (); $ Items ['Ajax '] =Array ( 'Page callback' => 'sitemod _ callback_ajax ', 'Access arguments'

Total Pages: 15 1 .... 7 8 9 10 11 .... 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.