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
See a lot of people about Joomla and Drupal article, it seems that everyone is saying that Joomla is not good, much worse than Drupal, in fact, is it true?
Or is this just before, to the time of Joomla 3 and Drupal 7/8, or is that so?
Reply content:Joomla has now developed to the framework level, currently based on the Joomla framework of either tag or CCK can b
Drupal uses the. info file to save topic (theme) and module (modules) basic data (metadata).Coding: We recommend using UTF-8. This is a no BOM (Byte Order Mark).Here is an example of a. InfoName = really Neat Widgetdescription = provides a really Neat widget for your site ' s sidebar.core = 7.xpackage = Viewsdepe Ndencies[] = viewsdependencies[] = panelsfiles[] = Tests/example.testconfigure = Admin/config/content/exampleThe attributes he contains are:
Drupal _ configuration after website migration. Some problems have been encountered after the website is migrated to the server. here we summarize: 1. no response, no prompt, and blank page 2 is returned. there is content, but it is disordered and many are lost, in addition, there are no CSS-like websites that encounter some problems after migrating to the server. here we will summarize:
1. no response, no prompt. a blank page is returned.
2. there is
Drupal reads Excel and imports database instances
This article mainly introduces how Drupal uses PHPExcel to read Excel and import the database. For more information, see
PHPExcel 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
Document directory
Module description file-x.info
Module implementation file-×. Module
Module Installation File-X. Install
Drupal module installation path
The module in Drupal can be installed in three paths
The modules under the root directory are all Drupal system modules. It is better to avoid the trouble of upgrading.
/Sites/All/modules. The modules u
I recently discussed with you whether you should upgrade your website to Drupal 8, and not recommend that you upgrade it (for details, see if I should upgrade to Drupal 8 now?). 》)。 However, if you are building a new website, is it appropriate to use Drupal 8?The answer remains: not appropriate!Similar to the reason for not recommending an upgrade to
The domestic use of Drupal is not too much, on-line information is very few. It is important to note that Drupal does not use apt to install, especially the Ubuntu platform Drupal has made some changes that will hinder later learning and use. Before the installation of Drupal to complete the lamp, if not installed can
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
By default, Godaddy only supports Drupal to 7.22. Currently, Drupal has been upgraded to 7.28. After Drupal 7.22 is installed, it can only be upgraded manually.
Install Drupal in: https://hostingconnection.godaddy.com/Application/Drupal.aspx
Go to Administration> Configuration> Development> Maintenance mode. Check th
Reprint: HTTPS://YPLAM.COM/POST/79Drupal Console is a set of command-line tools for Drupal 8 that generates Drupal 8 template code and can interact with Drupal 8 apps.The Drupal Console is a bit similar to the familiar Drush, but offers a different function that can be used in conjunction with Drush.Installation$ curl
Install httpd, mariadb, and PHP, start httpd and mariadb, and create a database of UTF-8 character sets.
Download Drupal core and Drupal Translations 2 files on the Drupal website: drupal-7.34.tar.gz drupal-7.34.zh-hans.po .
tar xzvf dr
It's easy to build complex and dynamic content using Drupal. But a little careless, you will pay the price for this easy. Complex database queries and costly calculations can lead to page performance problems when users view certain complex and dynamic pages. One solution is to turn on page caching in the DRUAPL background page. When the page cache is turned on, you can significantly reduce the number of database queries on some pages to improve page
What skills are needed in Drupal development? Here, let's take a look at the big screen (see below)According to the diagram above, a table is probably listed:
Technical Direction
Detailed Description
Community personnel
drupal.org account, post, organize and participate in the offline party, QQ Group, etc.
Content editing
Site comments, content, automatic publishing, audit and other skills. Menus, users,
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
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.