drupal 7

Problem: Site is multilingual, and I use translation for select list values. It works fine on the input data form (edit mode), but on "view", the saved values are shown in English and not in site's language.
Solution:
1. Go to the content type's Manage Display tab.
2. Change the Format value, next to the select list fields from 'Default' to 'Default translated'

I found the solution here: https://drupal.org/node/1101128

01
Sep
2013

Duplicate existing data field

Posted by hamu

Duplicate existing data field of a content type

  1. Edit your content type: Go to Structure » Content types . On the MANAGE FIELDS tab, Add new field. Use the same FIELD TYPE as in the field you want to duplicate. Save
  2. Still in content types: Go to the MANAGE DISPLAY tab, and verify that the new field is visible (it is not displayed under Hidden)
Tags: 
08
Aug
2013

User login blocked

Posted by hamu

Problem:

One of the users couldn't login to the site. After a few attempts the Sorry, there have been more than 5 failed login attempts for this account. It is temporarily blocked. Try again later or request a new password. message was displayed.
I entered the interface as admin, and went to this user's editing form. The user status presented was Active. I resetted the password, and tried to login as that user, but got the same error message.

04
Aug
2013

Import language translation

Posted by hamu
  • Locate the translation file: Go to https://localize.drupal.org/, click on the required language name, you will be redirected to the selected language's translation page.
  • Download the file that is relevant to your version (I downloaded the file next to 7.22, on the Drupal core project). It should have .po extension.
  • Go to the file system: Go directly to your file system on your localhost, use an ftp client or the control panel for your hosting server file system.

Pages