drupal deploy

Read about drupal deploy, The latest news, videos, and discussion topics about drupal deploy from alibabacloud.com

Do you have people who are familiar with Magento and Drupal two times?

Anyone familiar with Magento and Drupal two times? Do you have people who are familiar with Magento and Drupal? I wonder if there are many people in the forum with these two? Let's talk about using both of them. ------Solution-------------------- Magento I used to feel can also, two times the development of the words slow, but the implementation of the efficiency is OK, because it is based on the ZF framewo

Drupal One key to hide management navigation and in-Station keyboard navigation related module part knot

One key hiding management navigation related module When we usually do the project must install a management navigation, either built-in toolbar, or the old Administration menu, or the upstart NavBar, because the administrator always need this thing, developers sometimes need. But it brings convenience at the same time, also occupies a place on the screen, so sometimes we or customers need to hide them, when needed, and then through the accelerator key exhaled. The need for the

Resolving a solution that Drupal clean URL cannot enable

Some prerequisites:Website Domain name: site.comWeb site installation directory:/var/www After git pull the code to the server and deployed the database, the clean URL is not enabled, and the following is the troubleshooting and resolution steps: 1: Establish a info.php file, which input: Phpinfo ();?>and save, view the page found that the Apache Mod_rewrite module is not enabled, Linux executes the following command to install the rewrite module:A2enmod rewriteThen restart the Apache service

Image upload in Drupal form

["Barcode_image"];if (!empty ($file [' name '])) {$path = "./sites/default/files/barcode/";if (!file_exists ($path)) {mkdir ($path, 0777,true);}$name = MD5 (Time (). Rand (1,10000));$fname = $file [' name '];$ftype =explode ('. ', $fname);$picName = $path. $name. '. $ftype [1];if (!in_array ($ftype [1], $TP)) {Drupal_set_message ("The picture is in the wrong format, the correct format (gif,jpg,png,bmp)!" ", ' warning ');return false;}if (Intval ($file [' size ']) >2097152) {Drupal_set_message ("

Arbitrary File Upload Vulnerability in Drupal Live CSS Module

Release date:Updated on: 2013-01-22 Affected Systems:Drupal Live CSS Module 7.xDrupal Live CSS Module 6.xDescription:--------------------------------------------------------------------------------Bugtraq id: 57436The Live CSS module can present and edit the LESS style sheet in real time. Live CSS 7. x-2.x allows you to upload files with any extension to a folder in webroot, which can cause arbitrary PHP code execution by uploading malicious PHP scripts. The "administer CSS" permission is requ

Drupal 'browserid' Cross-Site Request Forgery Vulnerability and Security Bypass Vulnerability

Release date:Vulnerability version: 7. x-1.x vulnerability Description: Drupal is an open source CMS, can be used as a variety of website content management platform. Drupal's BrowserID (Mozilla Persona) module has the Cross-Site Request Forgery Vulnerability and Security Bypass Vulnerability. Attackers can exploit these vulnerabilities to bypass security restrictions to obtain sensitive information or perform unauthorized operations to obtain acces

Drupal joins style files dynamically via API

In the previous articles, we talked about how styles are loaded. You have learned that you can load style files through Theme.info, but you need to update the cache to be able to use them. Because of this, there is no way to dynamically load some style files, the DP provides two API operation style files Drupal_add_css, drupal_get_cssOver here. is still subject to mytheme. Look at the following demo sample:Function Template_preprocess_page ( $variables) {? $front _style = Path_to_theme (). ' /fr

Questions about how drupal anonymous access session values cannot be saved

The problem that drupal's anonymous access session values cannot be saved today cannot be found for one day. The problem is as follows: if drupal does not have a global $ user, using $ _ SESSION is equivalent to a common variable, and it cannot be saved at all. if $ user is global and $ user is anonymous, that is, $ user-> uid is 0, there is no way to save the session. Is there any big God that can give me some advice? I'm not very grateful! Thank you

Drupal Study Notes (4)

1. Add JSONRPC Server Wget http://ftp.drupal.org/files/projects/services-6.x-2.4.tar.gz Tar xvf Services-6.x-2.4.tar.gz Wget http://ftp.drupal.org/files/projects/jsonrpc_server-6.x-1.3.tar.gz Tar xvf Jsonrpc_server-6.x-1.3.tar.gz 2. Call Drupal JSONRPC service with Javascript

Drupal 7 website building learning note (5): Elements in the QuickTabs module cannot overflow

element box. Hidden The content is trimmed and the rest is invisible. Scroll The content is trimmed, but the browser displays a scroll bar to view other content. Auto If the content is trimmed, the browser displays a scroll bar to view other content. Inherit Specifies that the overflow attribute value should be inherited from the parent element. QuickTabsThe outer block of the module usesoverflow: hiddenAttribute When the

PHP File Upload form from drupal code

Example of drupal File Upload form Copy codeThe Code is as follows: function upload_form (){ $ Form = array (); // If this # attribute is not present, upload will fail on submit $ Form ['# attributes'] ['enablesype '] = 'multipart/form-data '; $ Form ['file _ upload'] = array ( '# Title' => t ('upload file '), '# Type' => 'file ', ); $ Form ['submit _ upload'] = array ( '# Type' => 'submit ', '# Value' => 'submit' ); Return $ form; } Function upload_s

URL rewriting using drupal code

After url_alter is enabled, two hooks are implemented: hook_url_inbound_alter and hook_url_outbound_alter. they are used to rewrite the URL and must be implemented by the third-party URL rewriting module. Drupal The following is an example: The code is as follows: /* * Convert the pseudo address to the original address (url_alter) */ Function example_url_inbound_alter ( $ path, $ original_path, $ path_language) { If (preg_match ('| ^ articl

Drupal Code implements URL rewriting

The following are examples of implementations: Copy the Code code as follows: /** Pseudo address Forwarding address (url_alter)*/Function Example_url_inbound_alter ( $path, $original _path, $path _language){if (Preg_match (' |^article (/.*) | ', $path, $matches)) {$path = ' node '. $matches [1];}}/** Original address pseudo address (url_alter)*/Function Example_url_outbound_alter ( $path, $options, $original _path){if (Preg_match (' |^node (/.*) | ', $path, $matches)) {$path = ' article '. $

Drupal sends an object 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 Drupal.Webpage Form The code is as follows:Copy code The preceding form contains the text box, password, check box, and file submission.Drupal cURL simulate

Steps for adding a title attribute to Views in drupal configuration

Views in Drupal provide many functions by default, and we usually use some simple functions.Here is a problem. We usually add a title field in Views to make a list, but the title attribute is not added by default. I just studied it, the discovery can also be achieved through configuration.This still requires us to be familiar with Views.1. Originally, we only had the title and date fields. Here we need to add an nid field.2. Click the Title field. Do

Drupal 7 Common Database SQL operations (update, delete, query)

One of the new functions provided by Drupal 7 is the ability to use the Query Builder and Query Objects Query Builder to construct Query Objects without the need to write original SQL statements in the code, one is to improve code readability, and the other is to be compatible with all databases.Insert a single record The code is as follows: Copy code Db_insert ("table"

Discussion on the technology of no-refresh uploading data in Drupal

Discussion on the technology of no-refresh uploading file in Drupal

How does Drupal avoid saving message information in the page cache?

Code of the page_get_cache function: function page_get_cache($status_only = FALSE) { static $status = FALSE; global $user, $base_root; if ($status_only) { return $status; } $cache = NULL; if (!$user->uid $_SERVER[‘REQUEST_METHOD‘] == ‘GET‘ count(drupal_set_message()) == 0 $_SERVER[‘SERVER_SOFTWARE‘] !== ‘PHP CLI‘) { $cache = cache_get($base_root . request_uri(), ‘cache_page‘); if (empty($cache)) { ob_start(); $status = TRUE; } } return $cache;} It can be seen th

The implementation of the mail sending function of Drupal website

Drupal site can use Gmail mailbox to send mail to users, the implementation of similar functions have SMTP or Phpmailer module, I use the Phpmailer module, the following is the process of my configuration, posted for your reference.1. Download Phpmailer moduleHttp://drupal.org/project/phpmailer2, enable the Phpmailer module, in the "Site Settings" point "Phpmailer" settings, the page will be error "Class ' Phpmailer ' not found in .... Phpmailer.class

Drupal 7 Build Station study notes (v): HTML Document Flow overflow problems

. scroll content will is trimmed, but the browser displays scroll bars to see the rest of the content. auto If the content is Trimmed, the browser displays scroll bars to see the rest of the content. inherit regulations The value of the overflow property should be inherited from the parent element. QuickTabsThe outer block of the module uses overflow: hidden attributesWhen the inner element "

Total Pages: 15 1 .... 11 12 13 14 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.