Tech

How to do a project review on drupal.org

Recently I'm quite active on drupal.org. We are now in the project application process for drupalmonitor_connector module. To speed up the feedback from the community, you can do "reviews" on other project and therefore get a bonus. Here is what I usually do when starting a review on other projects.

Theming the maintenance page in Drupal 7

Copy the default template file from modules/system/maintenance-page.tpl.php to your theme template folder sites/all/themes/YourThemeName/templates/maintenance-page.tpl.php.

Change it the way you want. The text you entered in the Administration UI admin/config/development/maintenance will be available as

Flush image styles the Drupal 7 way

You want to flush your image styles in Drupal 7? There is no more User Interface like there was in Drupal 6 with the Imagecache UI module. But there is an easy way to rebuild the cache with drush:

drush image-flush

This will generate a list of options with all your defined image styles

For more info run

drush help image-flush

When you have the devel module installed you could also run this code snippet

How to install Drush on a Mac

This is a super simple step by step guide on how to install Drush on a Mac:

  1. Download the latest Drush version from http://drupal.org/project/drush.
  2. tar -zxf drush.tar.gz 
  3. sudo mv drush /usr/lib/
  4. chmod u+x /usr/lib/drush
  5. sudo ln -s /usr/lib/drush/drush /usr/bin/drush
  6. Type drush in your command line! ;-)

Drush?

Yeah, Drush is Drupal on Shell.

What is html5shiv?

html5shiv is a little javascript file that powers IE 7 and 8 to support html5 tags such as <article> and the like. It does however not solve other missing html5/css features like media queries or new HTML5/Javascript APIs.

More info

http://code.google.com/p/html5shiv/
http://en.wikipedia.org/wiki/HTML5_Shiv

Media Queries with IE 7 and 8 - respond.js

New technologies are cool and they enable new possibilites. One of this technologies are "Media Queries". We can create responsive webdesigns to different screen resolutions. The problem, especially in webdevelopment is the support of legacy browsers. Media Queries are nicely support in the latest browser versions of all browser vendors. However, IE 7 and IE 8 are still commonly used browsers, but they don't support media queries. 

The solution is: Respond.js

Internet und Audio

Das Internet ist voll von Text, Bildern und Videos. Wo aber bleibt die Musik? Auf der Spur nach spannenden Anwendungen mit Sound in Webapplikationen bin auch folgende Tools gestossen.

Wami Recorder

Basierend auf Flash und Javascript, eine kleine aber spannende Anwendung mit welcher sich sehr schnell und einfach Audioaufnahmen machen lassen. Warum Status Updates nicht per Audio erfassen?

https://code.google.com/p/wami-recorder/

Drupal Monitor Version 1.7 available

We just released the latest version of Drupal Monitor. There are multiple improvements in the drupalmonitor.com client as well as on the drupalmonitor.com site dashboard. You can download version 1.7 here. We highly recommend to update the module right away. You simply need to copy the files to the current module folder. There are no DB updates.

We recently introduced Drupal Farm status feature which you seem to like. We could double the Drupal sites that are monitored with drupalmonitor.com.

Tags: 

Drush: Drupal auf der Kommandozeile

Als Entwickler liebt man automatisierte Arbeitsabläufe. Vieles in Drupal lässt sich über die die Administrationsfläche einstellen. Das ist gut, wenn man aber immer und immer wieder den gleichen Ablauf abklicken muss, wird das langweilig. Mit Drush kann man typische Abläufe über die Kommandozeile ausführen. In der täglichen Arbeit nutzen wir Drush. Die beliebtesten Drush Commands:

Externe Links in neuem Fenster öffnen - einfach mit jquery

Der folgende Code einfach in den Headerbereich des HTML Dokumentes kopieren und schon werden alle externen Links mit dem Attribut "_blank" ergänzt. Wichtig, jquery muss included sein. (www.jquery.com)

$(function() { $('a[@href^=http]').not('[@href*=netnode.ch]').addClass('external-link').click(function() { window.open(this.href, '_blank'); return false; }); });

Falls die Funktion auch bei Content der via AJAX nachgeladen wird greifen sollte muss man auf den entsprechenden Event hören und die Methode nochmals ausführen.

was wir bloggen

corporate blog

Alles über netnode, die neusten Projekte, Events und Infos rund um die Firma.
mehr

 

tech blog

Alles über Drupal, HTML5, Mobile, Apps, Tools und vieles mehr.
mehr

 

wer bloggt

Drupal Developer
Drupal Programmierer
Drupal Developer
Project Manager
Geschäftsführer

archiv