liferay vs drupal

Learn about liferay vs drupal, we have the largest and most updated liferay vs drupal information on alibabacloud.com

Drupal 7 module development and establishment module help information (hook_help)

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 ------------------------------ Hook_help provides help information for this module. We should replace the hook with our module name. Here we create a my_first_module_help file in the my_first_module.module file. function my_first_module_help($path, $arg) {} Parameters:

How to install the Drupal Module

Drupal's own installation is very simple. Create a database, and then follow the installation instructions to do it step by step. Drupal can provide more customization functions by installing various modules. The installation methods of these modules are basically the same. Generally, they are the following steps: 1) download related modules from Drupal module; 2) decompress the module to./modules/In the

Drupal 7.31 version burst severe SQL injection Vulnerability

Tags: des http io os ar for strong SP dataThis morning, foreign security researchers exposed the latest SQL injection vulnerability in Drupal 7.31, and gave the EXP code to take advantage of the test.The Drupal7.31 environment is built locally, tested to find that the code can be executed successfully and an attacker-defined user is added to the database.Test Code:(do not use for illegal purposes)POST/Drupal

Drupal core path leakage Vulnerability

Release date: 2012-05-10Updated on: Affected Systems:Drupal 7.xDescription:--------------------------------------------------------------------------------Bugtraq id: 53454 Drupal is an open source content management platform. The path leakage vulnerability exists in Drupal versions earlier than 7.14, and the index of the installation path is leaked through the error message. the q [] parameter of php, des/

How to add modules in Drupal with inexplicable errors (often when many modules exist) _ PHP Tutorial

The solution to adding modules in Drupal is confusing (usually when many modules exist ). The status is as follows: 1. after you click the "warranty" button, the page cannot be properly displayed and a blank page appears. 2. refresh the page and issue that many items in the navigation are no longer available, you cannot click another item. The status is as follows:1. after clicking the "warranty" button, the page cannot be displayed normally and a bl

PHP file upload form from drupal code _ PHP Tutorial

The PHP file upload form is taken from the drupal code. The following code copies an example of a drupal file upload form: functionupload_form () {$ formarray (); Ifthis # attributeisnotpresent, uploadwillfailonsubmit $ form [# attri drupal file upload form The code is as follows: Function upload_form (){$ Form = array ();// If this # attribute is not present,

Create your own hooks for Drupal module development

Drupal allows third-party modules to create their own hooks. In general practice, there are two types of hooks you may want to create, one is the content modification class hook, the other is the interception class hook. Drupal's hook system allows interaction with modules and changes the logic of other modules.... Drupal allows third-party modules to create their own hooks. In general practice, there are t

Drupal automatically retrieves external images and saves the function-PHP source code

Sometimes, when publishing content, We need to extract external images and store them on our servers. This can avoid affecting our website if the external images cannot be opened, now let's share the functions that Drupal implements this function. Sometimes, when publishing content, We need to extract external images and store them on our servers. This can avoid affecting our website if the external images cannot be opened, now let's share the functio

Drupal Series website settings file settings. php contains the shared part

In the past, when setting the MediaWiki website, we put some common modifications in CommonSettings. php, and then LocalSettings. add the last line in php: require_once (usrlocalapache2htdocscommonCommonSettings. php), so that a series of websites can share CommonSettings. php File In the past, when setting the MediaWiki website, we put some common modifications in CommonSettings. php, and then LocalSettings. add the last line in php: require_once ("/usr/local/apache2/htdocs/common/CommonSetting

Solution for adding modules in Drupal with inexplicable errors (often when many modules exist)

Today, with Drupal, we have encountered a strange situation when installing ctools, kippers, views, and panels at the same time. The status is as follows:1. after clicking the "warranty" button, the page cannot be displayed normally and a blank page appears; 2. refresh the page and send out the items in the navigation that are no longer available. you cannot click the items that still exist to enter the normal page. After multiple tests, no problem

How to deal with drupal?

Drupal lt ;? Php $ Id $? **? * @ File? * Administrationpagecallbacksforannotatemodule .? *? **? * Formbuilder. Configureannotations .? *? * @ Ingroupforms? * @ Seesystem_settings _ drupal // $ Id $ ? /** ? * @ File ? * Administration page callbacks for annotate module. ? */ ? /** ? * Form builder. Configure annotations. ? * ? * @ Ingroup forms ? * @ See system_settings_form (). ? */ Function annotate_admi

How to Read taxonomy term depth (depth) in drupal

Drupal does not provide the dpeth interface for the term by default, but we have other methods to obtain it. We will share two methods in this article. You can choose one that suits your needs.1: self-built functions are obtained through database query.Function get_term_depth ($ tid ){$ Limit = 9;$ Depth = 1;While ($ parent = db_query ('select parent FROM {taxonomy_term_hierarchy} WHERE tid =: tid ', array (': tid' => $ tid)-> fetchFie

Tutorial on debugging variables in the Twig template in Drupal 8

The proverb: 工欲善其事, its prerequisite. There are a lot of skills in Drupal theme development, and learning these skills will have a multiplier effect. Today, we recommend how to debug the print out of the twig template variables, it may be a look! Oops,drupal 8! In the Drupal 8 twig template, you can find most of the commonly used template variables in annotations

About adding js to drupal

PHPcode // Are you familiar with drupal? I want to insert a script into the user_authenticate function in user. module. what can I do? Functionuser_authenticate ($ name, $ pass) about adding js to drupal PHP code // Are you familiar with drupal? I want to insert a script into the user_authenticate function in user. module. what can I do? Function user_aut

Customize the Drupal remote release function

Many people use Drupal to build multi-blog services. Therefore, remote publishing of a blog is essential. Drupal can achieve remote publishing by supporting XML-RPC tools, of course, it is more difficult to configure Drupal than private blog systems such as WordPress, the main steps are as follows: Select administer> site building> modules> Blog blogapi in th

Set aliases for each node in Drupal

Drupal uses a node to represent the content by default. node is the most basic page element in Drupal. Almost all content can be called node. Of course, its URL is not friendly. The default format is as follows: Http: // yourdomain/node/37 This type of URL does not clearly understand the nature of the page. It is best to set a regular alias for the page (alias ).To enable

Space supporting Drupal

Http://www.paangood.com/howtopurchase.phpHome> forums> other discussion areas> which Drupal VM space is the best for website creation? Website Construction Published by scapabc on Tuesday Drupal6 + ubercart2 is used for e-commerce websites. There are about 1 GB of images and other files, and the MySQL database is about MB. I want to rent a virtual host space. I don't know which one can recommend a suitable host space for me. I originally ren

WordPress and Drupal nginx configuration rewrite rewrite rule example _nginx

; } location ~. *\. (gif|jpg|jpeg|png|bmp|swf) $ {expires 24h; Access_log off; } location ~. *\. (JS|CSS) $ {expires 24h; Access_log off; } You can restart your nginx. Drupal Nginx Rewrite rulesDrupal is written in PHP language open source Content Management framework, is commonly known as CMS, many people are using Drupal to build their own blog, here also to share the Nginx rewrite rules

Daily security information botnets are actively exploiting Drupal's vulnerabilities

Last month, the Open-source Content management system Drupal released a high-risk vulnerability warning that basically affected all Drupal sites or more than 1 million sites. The bulletin said that a remote code execution vulnerability was found within several subsystems of Drupal 7.x and 8.x, potentially causing the site to be completely compromised. Qihoo 360 R

Drupal password policy module password hash Information Leakage Vulnerability

Release date:Updated on: Affected Systems:Drupal Password Policy 6. x-1.xDescription:--------------------------------------------------------------------------------Bugtraq id: 56350 Drupal is an open source content management platform. Drupal's Password Policy module has the information leakage vulnerability. Attackers can exploit this vulnerability to obtain sensitive information through man-in-the-middle attacks. *> Suggestion:----------------

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.

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.