Replaced the favicon in the misc directory. ico, replace it with a custom icon (the icon name has not changed), refresh the page, and clear the cache. the original icon is displayed on the page, but the icon is no longer displayed on the site, I don'
Create a new content type: name, birthday, address, and birthday date. "Birthday" is the date type, and "Birthday" is the simplified type, and the value is date ('M-D', birthday ).Create Views as follows:Set "birthday date" as a contextual filters,
Use hook_node_access_records and hook_node_grants (graphical combination (personal understanding is not authoritative, for reference only) to replace hook_node_access
1. First, we will introduce hook_node_access. It uses code writing to determine
The following is an example:
Copy codeThe 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 ('| ^ article
Download address: http://localize.drupal.org/translate/downloads, download the latest DRUPAL6 package file in Chinese
To Admin->site Building->modules [admin/build/modules] enable the Locale module.
To Admin->site Configuration->language
This article describes how to connect Drupal7 to multiple databases, how to operate instances, and how to solve common problems. For more information, see Drupal
If you encounter these problems:1. how does Drupal Connect to multiple databases?2. after Drupal connects to multiple databases, it finds that the program reports an error. why?3. when
This article describes how to connect Drupal7 to multiple databases, how to operate instances, and how to solve common problems. For more information, see
This article describes how to connect Drupal7 to multiple databases, how to operate instances, and how to solve common problems. For more information, see
If you encounter these problems:1. How does Drupal connect to multiple databases?2. After Drupal
If you encounter these problems:1. How does Drupal connect to multiple databases?2. After Drupal connects to multiple databases, it finds that the program reports an error. Why?3. When Drupal acquires, adds, modifies, or deletes multiple databases, data is not correctly written to the database or empty data is read. How can this problem be solved?4. I only want t
This article describes how to connect Drupal7 to multiple databases, how to operate instances, and how to solve common problems. For more information, see if you encounter these problems:
1. how does Drupal Connect to multiple databases?
2. after Drupal connects to multiple databases, it finds that the program reports an error. why?
3. when Drupal acquires, adds,
If you encounter these problems:
1.Drupal How do I connect to multiple databases?
2.Drupal connected to multiple databases, but found that the program error, what is the matter?
3.Drupal get, add, modify, delete multiple databases, data is not correctly written to the database or read to empty data, how to solve?
4. Just want to call or control another database i
If you encounter these problems:1.Drupal How to connect to multiple databases?2.Drupal connected to more than one database, but found that the program error, this is what?3.Drupal get, add, modify, delete multiple databases, the data is not correctly written to the database or read to empty data, how to solve?4. Just want to call or control another database in
The biggest change in the is the introduction of the Symfony framework, which has two significant impacts for developers First, this could dramatically increase the number of Drupal developers, such as the traditional "high-end program apes" that once considered themselves masters, disdain for process development, Now the Drupal8, also face to the image, and with the new framework, they have no reason to refuse to join the
use the Accountinterface class so that we can get the currently logged-on user. And then some of the following code you certainly haven't seen in Drupal 7, this is: annotations annotations. The Annotations annotation is a PHP discovery tool that, using these annotations, lets Drupal know that we want to register a new chunk (@ block) and we set the ID number: Demo_block and Admin_label:demo Block (these
This article mainly introduces the method of DRUPAL7 to connect multiple databases, the operation example, as well as the common problem solution, the need friend can refer to the following If you encounter these problems: 1.Drupal How to connect to multiple databases? 2.Drupal connected to more than one database, but found that the program error, this is what? 3.Drup
Installing Drupal · Drupal 6. xvreddymasu-July 9, 2009-
Instaling drupal-6.13, I configured MySQL database and users on that time showing this error. Can any one resolve this problem
Function ereg () is deprecated in c: \ Program Files \ Apache Software Foundation \ apache2.2 \ htdocs \ Drupal \ documdes \ file. INC
The test script is Php,ie version IE9, the other kernel browser Ff,chrome,safari does not have this problem.
Found this problem, is to do a login page, using $_session to judge, IE is not logged up, other browsers no problem.
After testing the print session_id(); next time, ie refresh the page value is different, open d:\tmp\session (this is the php.ini inside the session storage location), each refresh to add a session file, of course, this does not exist under other browsers.
Later, a tempora
long as the interface between different components remains constant, can be extended or even gutted and rewritten as needed without causing a chaotic mess. I shoshould note that modular design is not the same thing as Plugin-based design, which is W Hat users need open source projects use. drupal "modules" are actually plugins. the Linux kernel, Apache, eclipse, and other high-profile projects with "loadable modules" are Plugin-based ubuntures. plugi
ArticleDirectory
How the PAC structure impacts the Drupal Model
Related posts
Http://www.webhostinghero.ca/understanding-the-pac-framework-for-drupal.html
Understanding the PAC framework for drupaljuly 6th, 2010
· No comments
Drupal's structure is known as a PAC (Presentation affects action control) model which uses a controller to represent logic, a presentation layer for design and an alternative action layer for data. similar
YAML files are the newly introduced important project files, and in Drupal 8, whether it's a module, a theme, or a setup profile, you'll need a. info.yml file to store the underlying information about the project.In Drupal,. info.yml files are typically used for the following purposes:
Declaring the existence of modules, themes, installation profiles to Drupal
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.