Template overrides for specific panel panes

So after some time bashing my head against the wall, I finally figured out how to override specific panel panes in Drupal. Panels comes with a template file called “panels-pane.tpl.php” but you can’t simply create a “panels-pane–my-pane.tpl.php” to override it, like you can with core template files or views. This means you have to use a <a href=“http://drupal.org/node/223430"preprocess function to override the theme suggestion. So let’s say you create a template file for your panel pane called “panels-pane–my-pane. »

Author image Raúl Santos

Workshop sobre Drupal

Amanhã, dia 6 de Dezembro, vou dar um workshop sobre Drupal na FCT-UNL. Os interessados podem obter mais informações aqui. »

Author image Raúl Santos

Reducing the burden of updating Drupal modules

Update on Sep. 28, 2008: I will no longer update this script since Drush does this and much more. Anyone who has used Drupal for some time knows how boring it is having to constantly update modules… Donloading the updated module package with wget, deleting the old module directory, unpacking the new one, changing its permissions, repeat for all the other modules I want to update… and for those who don’t have SSH access to their sites, they have to do it via FTP or something similar, which is even worst. »

Author image Raúl Santos

Tradução do Drupal para Português pré-Acordo Ortográfico

De há uns tempos para cá, a tradução Portuguesa do Drupal tem vindo a adoptar a grafia do novo Acordo Ortográfico. Há alguns membros da equipa de tradução que se opõem a isso (eu, por exemplo) mas o Miguel Duarte, o gestor da tradução, é da opinião que, sendo esta a grafia oficial em vigor, é a que devemos adoptar. Quero deixar claro desde já que, apesar de me opôr ao acordo ortográfico, compreendo a decisão do Miguel e de certo modo, de um ponto de vista “político” ou “legal”, até concordo com ela. »

Author image Raúl Santos