DRUPAL and WAMP: enable ‘Clean URL’ using mod_rewrite [SOLVED]
When installing DRUPAL, after configuring database name, login, password, host, port and prefix, you will be redirected to another step. In this new installation step you will be asked to Configure...
View ArticleDrupal: Useful modules
If you are new to DRUPAL, it might be useful to know some of the great modules out there: The following are part of the “Others” modules, stored in directories under sites/all/modules/. - Advanced...
View ArticleDrupal 6: pathauto missing in Administer -> Site Configuration [SOLVED]
Pathauto is one of my preferred modules for developing blogs using Drupal. The Pathauto module automatically generates path aliases for various kinds of content (nodes, categories, users) without...
View ArticleDrupal para tontos: crear un nuevo Content Type COMPUESTO para galería...
Hoy os voy a explicar cómo crear nuevos Content Types complejos. ¿Para qué sirve esto? Imagina que quieres hacer “fichas” de usuarios, que contengan, por ejemplo: - Fotografía de perfil - URL de su...
View ArticleDrupal para tontos (II): urls amigables con pathauto, theming de Views, etc
Ayer os conté cómo crear content types complejos con el módulo noderefURL. Como ejemplo creamos fichas de personas con datos propios y galería de fotos relacionada. Nuestro ejemplo es muy mejorable,...
View ArticleDrupal theming: know if you are in homepage [solved]
It is very useful for drupal html designers to know if you are actually in the frontpage (home page) or not. I already explained how to know if you are on joomla homepage and knowing where you are...
View ArticleDrupal: customize language switcher block
If you are runnning a drupal multilingual site, you might be using i18n with language icons modules. I’ve received some mails asking how to customize the aspect of the multilang switcher block. Easy!...
View ArticleTranslate “Contact form” module Drupal [SOLVED]
The crappy way Delete the “additional information” text in admin/build/contact/settings The easy way Just download tContact module, and add these lines to your settings.php file....
View ArticleDrupal: Override node.tpl.php using Zen theme [solved]
If you are familiar to drupal zen theme then you will know how to create zen subtheme’s. But, what if you want to override the drupal’s default node.tpl.php? First of all, you should install the theme...
View ArticleDrupal not showing contact form menu item [solved]
Drupal is not showing the contact form menu item? Then you should check: Whether the menu item is enabled (admin/build/menu/): enable it, if it is disabled Whether the menu item is showing when the...
View ArticleDrupal 7: Pathauto url pattern page is empty [SOLVED]
If you install Pathauto 7.x-1.2 in the last Drupal stable version (7.21) and try to define some new url patterns for your content type’s (under ?q=admin/config/search/path/patterns or Administration...
View ArticleDrupal 7: Display search box in page.tpl.php or other template files [SOLVED]
Let’s assume you want to display a search box in your Drupal 7 theme. You can do it several ways: rendering the search form, rendering a block which contains it, using template.php or page.tpl.php....
View ArticleDrupal 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 Article