7

Language Switcher: languages link to the main page of the language or translation of current page if there is

Multilingual website Internationalization module and possibly the Entity Translation necessarily have transition to block language versions. This block usually create module Language Switcher add-in or over it-Language Switcher module Dropdown. In these two cases, the links to the translations work differently, to do as you have to allow the hook.

Translated form russian by Bing Translator.

Redirect after registration. Show your page after user's registration

Drupal message like "Check your mail.." on the home page - this is not the best way to inform the user that he has successfully registered and has to check e-mail.
Next hook shows the node number 76 after the registration, but do not show if administrator or editor create new account.
If you have a multilingual site and the material translated into languages, Drupal automatically selects the language translation for the current user's language (the language test is not needed, supported by Drupal).

My module colorbox_node_view_link Quick view materials in a Colorbox popup window

When you need to view some nodes, pages in pop-up window, the module Colorbox Node helps. If you want to add a button "Quick view" to the teasers use this hook_node_view().
This module adds a link with class "colorbox-node" to the teasers of certain types. Result site visitors will work with your site faster and more convenient. Popup window is pretty, quick and beautifull.

Drupal Commerce basic settings

Drupal: 
Difficulty level: 

Drupal Commerce certainly raises questions beginners because it is big, and its structure is not easy to learn the first time. One problem - the frequent occurrence of errors. In Commerce mistakes do happen during the setup phase. Therefore, the lesson is dedicated to installation, configuration, line.

This artice translated from russian by Google Translate, bit corrected by tlito.
The material in the process of writing.

Drupal Commerce. Working with currencies, prices, price formats

Drupal: 
Difficulty level: 

Drupal Commerce works with different currencies, the field Price is customizable and can be displayed without decimals, with a prefix or suffix, can be struck-through by the action. More in detail.
Article is translated from russian by Google Translate and corrected by tlito.

Translation field Price, Order Total, see the tutorial (in russian) "Drupal Commerce Basic setup".

CDNs made simple, fast & cheap - Murray Woodman

Drupal: 
Difficulty level: 

If you test the speed of loading pages in loadimpact, pingdom, google pagespeed insignts, you may notice that the pictures, style files, Javascript are not loaded in parallel. This slows page loading and page displaying to the user's screen.
To speed up the loading of pages, you need to divide pictures, css files, JS files to CDN server. You can use subdomains of your site or third-party CDN servers.

Security of the Drupal site. Basic concepts + Video from Acquia How to Secure Drupal Sites That Cannot Fail

Drupal: 
Difficulty level: 

Some aspects of network security for developers and website owners. Also video testimonials how to make a Drupal website safe (for a detailed discussion of methods).
The sites are of interest not only for their owners and visitors, but also for hackers who may have their own thoughts about why they need to hack sites. Drupal is one of the reliable systems of free engines in PHP. Vulnerabilities that may affect the performance of your website (if will be discovered by hackers and used, exploited) are in the following locations:

Optimizing images when creating nodes. Converting PNG to JPG in Drupal

Drupal: 
Difficulty level: 

Disk usage sometimes requires optimization when the disk space is not cheap, but you have a lot of images. Basic function of image optimization is the option "Maximum image resolution" in the settings of field Image. Setting, say a maximum of 1200 by 1500 pixels, you will force Drupal to compress large images to this size.

But what if you want to convert PNG (which weigh 3-4 times larger than JPG) in JPG format? How to tune the compression feature pictures?

Subscribe to Front page feed