Drupal 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 ArticleRedirect wordpress main page to category [SOLVED]
This is a usual question in forums: How to redirect the wordpress main page to a category post page? This is: when http://yoursite.com loads, you want to be redirected to...
View Article[SOLVED] Fix apple-touch-icon 404 errors
Some days ago I was checking AWStats reports in my Invenio site and I noticed some (unexpected) 404 errors. Visitors were trying to load URL’s like /iphone or /m and some images which were not linked...
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 ArticleqTranslate and wordpress 3.7 [SOLVED]
If you want to migrate to new wordpress version (3.7) and are using qTranslate, make the following change to /wp-content/plugins/qtranslate/qtranslate.php before updating wordpress to the newer...
View ArticleDisplay qTranslate flags (language switcher) in your wordpress theme [SOLVED]
How to display a language switcher in your wordpress theme? Easy! Edit your template file, for instance, header.php and include the following lines: <!-- alternador de idiomas qTranslate --->...
View ArticleWordPress and qTranslate: translate menu items
If you have installed qTranslate for the first time in your blog, and you already had a navigation menu with some items, what is the best way to translate those navigation items? I have found that the...
View ArticleWordPress custom archive for specific category [SOLVED]
This days i’ve been designing a website in which there is a need for different archive views for each category of posts. For this example, we will asume that we have three post categories defined: 1)...
View ArticleWordPress: adding masonry grid layout to Ryu theme [SOLVED]
I just love Ryu theme for WordPress. It is a modern, white, minimal yet elegant theme. The one thing I am not fond of about Ryu is the archive page. I would prefer if it had a grid-based layout (using...
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 ArticleRename multiple files using sequence number in OSX from command line [SOLVED]
With this command you will rename all the jpg files in the current directory to PREFIX_0000.jpg to PREFIX_9999.jpg find . -name '*.jpg' \ | awk 'BEGIN{ a=0 }{ printf "mv %s PREFIX_%04d.jpg\n", $0, a++...
View ArticleCDS Invenio: format templates box in advanced search and search results...
Invenio 0.99x offers the option to control which output formats are enabled in searches and collections. For instance, if we take a look at the advanced search screen inside of the particular...
View Article