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
This article introduces you to how to read excel in Drupal and import it into a MySQL database, here we describe a PHP class library that uses Excel plug-in phpexcel,phpexcel to manipulate Office Excel documents. It is based on Microsoft's OPENXML Standard and PHP language. You can use it to read and write spreadsheets in different formats, such as Excel (BIFF). xls, Excel (Officeopenxml). xlsx, CSV, Libre/openoffice Calc. ODS, Gnumeric, PDF , HTML, e
Problem Description: ' Page not found ' Errors on every page except homepage. ' That is to say, the Drupal site you built is accessible in addition to the main page, and all other columns are displayed as 404 error pages. Problem Analysis: The most likely cause of this problem is the Mod_rewrite module on the new server or the faulty configuration (or Drupal pseudo static) of a simple link (clean URL). In
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
Automatically get the external link picture in Drupal, and then extract the function share to upload to your website.function Get_external_image ($url) {$external _image = file_get_contents ($url);$parsed _url = Parse_url ($url);$name _dest = rand (1000,9999). " _". basename ($parsed _url["path"));$file = File_save_data ($external _image, ' public://'. $name _dest, File_exists_replace);if (Is_object ($file) file_exists ($file->uri)) {$file->status =
First of all, why do this because I work on a large Drupal project, the database files are large, and each new feature is developed on the branch, which means I need to build multiple local environments and often need to delete old branches and create new branches.Since the database uses most of the InnoDB engine, and InnoDB is not released after the space is allocated, it can not be reused (this may be the way I haven't found the right method), so be
When installing D7, you need to create a database with phpMyAdmin, and it is not recommended to use the root account to establish a new account. Generally, create a new account, such as Foo, and simultaneously build a database of the same name, select localhost (if local). However, the set up database its collation default is latin1_swedish_ci, how to modify it? The problem has been around for a long time. In fact, only choose the database you want to modify, such as Foo, and then choose operati
Original article: http://stuartmcgoldrick.com/drupalwysiwyg Introduction
This article is designed to help you get syntax highlighting working correctly with your Drupal 7 installation and using a WYSIWYG editor. the outcome of this tutorial is to be able to insert blocks of code into Drupal articles/pages like the block below through a WYSIWYG editor (tinymce in this case ). ?
Example
1234
Drupal8 release I feel very busy, Drupal formed a culture.
What I feel is that the hook mechanism allows the programmers to work together, which is a good idea.There is also the spirit of open source, do not reinvent the wheel (so directly based on the Symfony framework), ...
The problem is a bit big, ask the talent to say.
Reply content:
Drupal8 release I feel very busy, Drupal formed a culture.
What
Drupal is easy to install. decompress the Drupal source code package to your web path, enter this address, and then follow the prompts to do it step by step. However, if you do not strictly follow the requirements of Drupal, there will be some inexplicable errors.
In the first step of installation, Drupal prompts you
Phpexcel is a PHP class library that is used to manipulate office Excel documents, based on Microsoft's OPENXML Standard and PHP language. You can use it to read and write spreadsheets in different formats, such as Excel (BIFF). xls, Excel 2007 (Officeopenxml). xlsx, CSV, Libre/openoffice Calc. ODS, Gnumeric, PDF , HTML, and so on.
One, Drupal calls Phpexcel through the libraryDownload the Phpexcel and upload it to your
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
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.