Archive for the ‘Informática – web’ Category

vBulletin 4.1.7 – Instalar spanish language pack [RESUELTO]

Muchas veces, las traducciones (aka language packs) de vBulletin salen bastante tiempo después que las versiones oficiales. Es por ello que, si descargamos la última versión de vBulletin para instalarla en nuestro sitio web, es posible que aun no tengamos disponible la última actualización de la traducción al español. Hay una forma de engañar a [...]

vBulletin 4: Add right or left sidebar [SOLVED]

A common question asked in forums is “how to add a right sidebar to vBulletin 4″. In vbulletin 3 this could be achieved by changing the templates or installing hacks (for instance, Ultimate Side Columns. In vb4 it is way easier. Log in to admin panel (usually in http://yoursite.com/admincp), then: ACP > SETTINGS > OPTIONS [...]

Layout example: div izquierdo con anchura fija y div derecho con anchura variable (autoajustable al contenido)

El otro día me preguntaban cómo hacer un layout de este tipo, de dos columnas, en el que la zona izquierda tenga un ancho fijo (para albergar, por ejemplo, una imagen) y la de la derecha se ajuste al 100% del ancho de la pantalla. Pues se hace asi: <html> <head> <style> * { margin:0; [...]

Joomla: know the section of an article [SOLVED]

Lets suppose you are developing a joomla module which displays some “share to facebook and twitter” links. That module should not display those links if the article’s section id is equals to 10. We will be bulding a new function called getSection which will return the section of an article. <?php function getSection($iId) { $database [...]

Drupal 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 user is logged in: if you do the above, it will Allow annonymous user (not logged) to ‘access site-wide contact form’ [...]

Drupal: 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 developer module and then check what file you must replace. In this example we will override the /sites/all/themes/zen/modules/node.tpl.php with [...]

Translate “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. $conf[’i18n_variables’][] = ‘contact_form_information’; $conf[’i18n_variables’][] = ‘contactforms_information’; The hard way After hours of research, I’ve finally come up with a default core solution that I’d like to share with everyone on [...]

WP-COMFY: change post rotation interval [SOLVED]

Those of you who are using WP Comfy (aka Comfy Magazine) theme for wordpress might be wondering how to change post rotation time (interval) so that posts rotate more quickly or slowly. Well, the fix is quite easy. Edit /wp-content/themes/wp_comfy/scripts/tabs.js, look for: if (parseInt(this.automodeperiod)>500 && this.hottabspositions.length>1){ this.autoruntimer=setInterval(function(){tabinstance.autorun()}, this.automodeperiod) More slow rotation: if (parseInt(this.automodeperiod)>1000 && this.hottabspositions.length>1){ [...]

wordpress: Ordenar archive.php por fecha con query_posts

Imagina que ya tienes en tu theme de wordpress un archivo llamado archive.php que se encarga de interpretar url’s del tipo http://www.tusitiowordpress.com/tag/tagX ¿Cómo hacer para que, además de mostrar los posts filtrados por el tag ‘tagX’, los ordene por fecha? (y no por otro criterio, como la categoría) Fácil: Edita tu archive.php y busca: <?php [...]

WordPress: where am I? is it the frontpage? [solved]

Some days ago I talked about knowing where I am in Drupal and knowing where I am in Jooml. I’ve received some mails asking how to know where i am in wordpress (am I in the frontpage? am I in a single post view?). You can know this by using wordpress conditional tags. For instance, [...]

Paypal donate

Please help me keep this blog up by donating.

Por favor, ayúdame a continuar con el blog donando.