Drupal 7 “500 – Internal server error” [SOLVED]
When you want to install a new Drupal 7 in a shared server or some web hosts, specially those concerned with security settings, there is a good chance that all you get is a “500 internal server error”....
View ArticleDrupal 7: Path breadcrumbs in Views page [SOLVED]
Path breadcrumbs module allows you to easily add breadcrumbs to your Drupal site. The module lacks of documentation, but they offer this image as an example: And there is a videotutorial as well. The...
View ArticleDrupal 7: Styling language switcher
Language switcher is a Drupal module which allows to display a block that allows visitors to choose between the languages in which your site is available (check /admin/config/regional/language to list...
View ArticleDrupal 7: display language switcher in template [SOLVED]
Some days ago we learnt to display a search box in Drupal template files, and according to that post and the Drupal handbook rendering a language switcher block in your theme templates should be easy....
View ArticleDrupal 7: install module translation [SOLVED]
To install a Drupal 7 module translation, this is, a .po file (for instance, the fullcalendar spanish translation) go to Administration » Configuration » Regional and language...
View ArticleDrupal 7: acceso a bases de datos externas
En Drupal 7 hay varias formas de acceder a bases de datos externas. Método 1: Añadir bases de datos adicionales en la configuración (settings.php) <?php $databases = array();...
View ArticleDrupal 7: crear un módulo que consulte base de datos externa [RESUELTO]
Imaginemos que queremos leer información de una base de datos externa en Drupal 7. Para ello vamos a crear un módulo. El tutorial cubrirá el proceso completo desde la instalación de Drupal....
View ArticleDrupal7: list allowed values from a field type list [SOLVED]
In Drupal 7, how do you list all the allowed values in a certain field of some content type? You can use the list_allowed_values function. Lets see it with an example. I will define a new Content Type...
View ArticleDrupal 7: quick-edit link for nodes for authorized users [SOLVED]
Showing a “edit this node” link for users who have authorization to edit that node is a useful feature. The link will show only to logged users who have the editing privilege. In Drupal7 this can be...
View ArticleAdding jQuery UI tabs to Drupal 7 [SOLVED]
I recently wanted to add some jQuery UI tabs to nodes. Drupal 7 has jQuery 1.4 included in core, so we’ll take advantage of that. This is how you do it: First, edit template.php and create / make some...
View Article