This article mainly introduces how Drupal uses PHPExcel to read Excel and import the database. For more information, see PHPExcel, which is a PHP class library used to operate Office Excel documents, it is based on Microsoft's OpenXML standard and PHP language. You can use it to read and write workbooks in different formats, such as Excel (BIFF ). xls, Excel 2007 (OfficeOpenXML ). xlsx, CSV, Libre/OpenOffice Calc. ods, Gnumeric, PDF, HTML, etc.
1.
The difference between Memcache and Redis is not discussed in this article. Theoretically, if drupal's Redis module is reasonably written (without looking at the source code, let's make a rough estimate), Redis's Performance Improvement on drupal will certainly be larger than Memcache, the expansion of a single data structure saves a lot of complicated operations in Memcache, with the addition of Redi
The difference between Memcache and Redis is not d
So-today I wanted to learn-to-export a Drupal database to a file quickly. Back on the day I would ' ve logged in through CPanel and navigated to PHPMyAdmin, then manually select an export of the DAT Abase and has to choose where to save the file. Not to mention all the previous steps listed would need to being preceeded by a Drupal cache flush (I don't like the cache in Side a database backup). Typically th
JavaScript Implementation method
Drupal's architecture is fully multilingual, and even JavaScript is an exception.
First let's look at how JavaScript is used in Drupal.
DRUPAL.T (' string ')Where string is required for Drupal to be translated in a multilingual string.
Drupal Javascript implements the multi-language mechanismAs a first step, all JavaScript fil
Introduction: This is a detailed page on How to reset the user password of Drupal 7. It introduces PHP, related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: // biancheng.dnbc?info/pingjia.php? Id = 325733 'rolling = 'no'>Because I haven't logged on to the Drupal 7 website of my local machine for a long time, I found that I have forgotten the ad
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 tries to comply with public consistency standards, it makes it easier for the developer involved in the project to understand the code in the project and understand the program status. Enable new participants to quickly adapt to the environment and pre
Release date:Updated on:
Affected Systems:Drupal Drag Drop Gallery 6.xDescription:--------------------------------------------------------------------------------CVE (CAN) ID: CVE-2012-4472
The Drupal Drag Drop Gallery module creates an image library node type. You can Drag and Drop images in the local file system to add images to the image library.
Drag Drop Gallery 6. A file upload vulnerability exists in the x-1.5 and earlier sites/all/modules/d
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 Drupal. Webpage Form table
As we all know, PHP cURL extensions can be used to simulate form submission.
Drupal only provides a highly customizable system without many features. By default, Drupal uses a plain text editor to publish content. In most cases, we need a more convenient WYSIWYG editing tool, and more functions such as selecting and uploading images. Follow these steps to install and configure a visual editor for Drupal:
1) install the WYSIWYG module in t
Drupal, a well-known open-source CMS project, recently launched version 6.0. The development cycle of the new version is up to one year, solving 1600 problems in total. The improvements of version 6.0 mainly focus on ease of use, security, and maintainability, more friendly InstallationProgramAnd extended development framework. Drupal provides a 29-minute video clip to introduce new features of version 6.0.
You need to 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. In a recent drupal project, we encountered a very strange problem: the total number of records and the total nu
**.info file **.info file is a required file: Drupal must include it in order to see the topic. The. info file tells the internal name of the Drupal topic. For example, if the name of this file is Ibmtheme.info, then the name Drupal gives to this topic will be ibmtheme. If your theme uses elements such as JavaScript, metadata, style sheets, or block regions, you
Drupal _ configuration after website migration. Some problems have been encountered after the website is migrated to the server. here we summarize: 1. no response, no prompt, and blank page 2 is returned. there is content, but it is disordered and many are lost, in addition, there are no CSS-like websites that encounter some problems after migrating to the server. here we will summarize:
1. no response, no prompt. a blank page is returned.
2. there is
Drupal reads Excel and imports database instances
This article mainly introduces how Drupal uses PHPExcel to read Excel and import the database. For more information, see
PHPExcel is a PHP class library used to operate Office Excel documents. It is based on Microsoft's OpenXML standard and PHP language. You can use it to read and write workbooks in different formats, such as Excel (BIFF ). xls, Excel 2007
Document directory
Module description file-x.info
Module implementation file-×. Module
Module Installation File-X. Install
Drupal module installation path
The module in Drupal can be installed in three paths
The modules under the root directory are all Drupal system modules. It is better to avoid the trouble of upgrading.
/Sites/All/modules. The modules u
Simple backup policy for small and medium-sized sites is based on drupal's small and medium-sized websites. We can use the backup_migrate module, which provides the regular backup function, backup time, number of backups retained, and so on, after the configuration is complete, execute cron regularly to make the backup successful. For a typical Drupal website, we only need to use svn. on the server side, we
Simple backup policy for small and medium-si
Drupal changed the display menu link address. a drupal system was originally run on 192.192.192.3. today, I moved it to 192.192.192.4. But there is a page 192.192.192.4mysite? All hyperlinks under qnode1 point to 192.192.192.192.3 *****, that is, the original server address is still in batch. Where can I modify it? Thank you for modifying the display menu link address of
Drupal changed the display menu link address. a drupal system was originally run on 192.192.192.3. today, I moved it to 192.192.192.4. However, there is a page http: // 192.192.192.4/mysite /? Q = all hyperlinks under node/1 point to http: // 192.192.192.3/* drupal to modify the display menu link address
A drupal syst
This trash bin is named: variable.
Open the Drupal database with your favorite database management tool, and find out, yes, that table--variable. This is a famous "trash Can"! Want to use a database? Don't want to build a new watch? variable, I want to put a temporary data, ha, throw variable! This is not a trash can.
Enough jokes, into today's text. Today we're going to talk about variable-related functions.
4 Function 2 table, is today's dish, no
The essence of the Drupal system is the Hooks (hook) design. When there are multiple modules in the system, what is the order of the module alter hooks? With this question, we found the correct answer: Drupal module weight directly affects the execution sequence of hooks in the module. By default, weight of each module is 0, the order method is based on the module name, which is easily influenced by the ord
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.