drupal how to

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

Use Drush to Export/import a Drupal MySQL Database Dump File

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

Drupal read Excel and import into MySQL database program code _php tutorial

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

How to solve the other 404 errors on the home page after the Drupal site is changed to server

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

Drupal automatically gets the external picture and saves the function

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 =

PHP File Upload form excerpt from Drupal code _php tips

Example of a Drupal file upload form Copy Code code as follows: function Upload_form () { $form = Array (); If This #attribute isn't present, upload'll fail on submit $form [' #attributes '] [' enctype '] = ' multipart/form-data '; $form [' file_upload '] = Array ( ' #title ' => t (' Upload file '), ' #type ' => ' file ', ); $form [' submit_upload '] = Array ( ' #type ' => ' submit ', ' #value ' => ' Submit ' );

Drupal MySQL InnoDB database backup and restore instance tutorial

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

Drupal 7 Database issues when installing

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

Drupal Drag & amp; Drop Gallery module upload. php Arbitrary File upload Vulnerability

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

Drupal uses cURLPost to send an object

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.

Install WYSIWYG editing tools for Drupal

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

Open-source CMS Drupal released version 6.0

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.

When setting block views by page in Drupal, you need to take extra care _ PHP Tutorial

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

Drupal Theme Main file

**.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 7 syntax highlighting with WYSIWYG and tinymce

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

Where is the idea in Drupal culture worth learning?

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

A trap of Drupal Installation

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

Drupal reads Excel and imports a database instance _php instance

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

Add custom CSS and drupalcss to the Drupal 7 website

Add custom CSS and drupalcss to the Drupal 7 website When we are visiting a chat room or forum, we often encounter questions about how to add custom CSS to the Drupal website. Generally, it is best to add a custom CSS with the Drupal topic. However, in some cases, you have to consider other methods because of Environment restrictions or the website administrator

Up to 12 million websites may be infiltrated by Drupal vulnerabilities.

Up to 12 million websites may be infiltrated by Drupal vulnerabilities. Drupal, an open-source content management system, issued a warning. If a Patch Is Not Installed within seven hours after the security fix is released, the website using Drupal 7 can assume that they have been intruded by attackers. The automatic attack tool can exploit the vulnerability to c

Add custom CSS for Drupal 7 sites

When we go to chat rooms or forums, we often encounter questions about how to add a custom css--to a Drupal site. Generally speaking, it's best to add it through Drupal themes. In some cases, however, there are other options that may have to be considered because of environmental limitations or if the site administrator does not have permission to access the subject file.Today this article describes how to

Total Pages: 15 1 .... 5 6 7 8 9 .... 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.

not found

404! Not Found!

Sorry, you’ve landed on an unexplored planet!

Return Home
phone Contact Us
not found

404! Not Found!

Sorry, you’ve landed on an unexplored planet!

Return Home
phone Contact Us

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.