alfresco vs drupal

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

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 7.14 & lt; = full path Leakage

Drupal 7.14 About Drupal: "Drupal is an open source content management platform powering millions of websites andApplications. It's built, used, and supported by an active and diverse community of peopleAround the world ." Drupal is used by common companies like Ing/Diba, Amnesty International and The White House. Issu

Drupal API-T ()

used for text that may change from time to time (such as link paths) to be changed without requiring updates to translations.In the text, "placeholders" can be used to identify "Dynamic Information" that does not need to be translated (such as the number of online users of the website), and "placeholders" can be used to identify content that rarely changes, even changes do not affect the "Dynamic Information" that you understand" For example: There are three styles of placeholders:Placehold

Drupal7 Lesson 1 Drupal download and Installation

I. materials: Download Drupal https://www.drupal.org/download Https://localize.drupal.org/translate/languages/zh-hans Drupal translation package download 1. There are no major problems with Drupal installation. 2. Translation Enable module locale Configuration-> languages Import a Language Pack Ii. Common configurations 1. Default Time Zone (configuration-"regi

Add a custom region (region) Placement block in Drupal)

The Block Function of Drupal can be embedded in HTML and PHP code. It is convenient and flexible to control display based on permission and URL matching. However, it is a habit to use the layout format of mediawiki, it is sometimes inconvenient to add a block under the title (the header block is at the top of the page by default ). A few days ago, I knew that more blocks can be added in addition to the default block location of the garland topic in

Customization of blocks and menus in Drupal

Block refers to the containers of various content on Drupal pages, such as "Recent posts", "mirror sor links", or "Who's online". Menu refers to the menu bar of the registered user, usually on the left of the user page. Drupal cookbook has a detailed explanation of the two terms: Block: This is a "container" for pieces of content on your displayed page. You may also have "Recent posts," "Using sor links,"

Drupal 7 module development and creation of a custom table (table) (hook_schema)

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 ------------------------------ To create a separate table for your module, you need to useHook_schema Table Name: myform Function my_first_module_schema () {$ schema ['myform'] = array ('description' => 'first Form ', 'fields' => array ('id' => array ('type' => 'serial

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