Use an svg logo

This is a simplified example!

In your template file use the following code to set up the logo.

Template files for specific view modes

Add this to your theme template.php file.

 * adds templates for teasers
 * @param string $vars
function MYTHEME_preprocess_node(&$vars) {
  if ($vars['view_mode'] == 'teaser') {
    $vars['theme_hook_suggestions'][] = 'node__' . $vars['node']->type . '__teaser';

Now you can add a regular template file like node--basic-page--teaser.tpl.php to the templates of your theme. Just make sure the fields you want to use in your template are available in the view mode of the content type.

SEO voor starters en KMO's

22 Januari 2015 in De Punt, Gentbrugge van 9 tot 13 uur

Zowat elk bedrijf in deze moderne wereld heeft een web site. Dikwijls wordt heel veel geld en tijd hierin geïnvesteerd zonder enige deftige “return on investment”. “De site werkt niet” is een veel voorkomende uitspraak. De oorzaak hiervan ligt meestal in een foute implementatie of promotie. Relevante bezoekers krijgen, die op de site houden en dan overtuigen tot een bepaalde actie vergt een bepaalde voorkennis en instelling. Deze workshop leert eigenaars van web sites hoe ze de inhoud van de site kunnen aanpassen om beter te scoren in zoekmotoren als Google, hoe ze hun site moeten promoten in social media en hoe ze bezoekers op hun site moeten opvangen. Na deze workshop heeft de site eigenaar alle informatie om de site “te doen werken” en de investering van tijd en geld te laten renderen.

Schrijf je nu in!

Bouw je eigen site, voor de starter en KMO

21 Januari 2015 in De Punt, Gentbrugge van 9 tot 17 uur

Drupal 7 workshopIn deze workshop leer je een basis website bouwen in Drupal 7. Je installeert Drupal, zet er modules in om de functionaliteit uit te bereiden en past de stijl aan. Op het einde van de dag heb je je eigen site die je volledig zelf kan beheren. Je bent volledig eigenaar van je site en dient geen groot bedrag uit te geven om je site op te zetten of te beheren.


Schrijf je nu in!

Behave Windows, behave!

I am an avid Linux user at home. All systems in this house use Linux in one form or another. Even the laptops my 6 and 8 year old daughters use run this OS. It all works well.

DrupalCampGent program

Tomorrow, May 25th 2012 and the day after, I will be attending Drupal Camp Gent. This is a totally free conference totally dedicated to Drupal. When I say "free" I mean totally free. Even the coffee and the lunch is free. NICE!

Using Good Passwords

The need for good passwords

"Why, of why, do I need a good password"you may ask. I may ask you "why. oh why, do you use security keys on your front door". The principle is the same: easy passwords are like old style keys: easy to hack. People with mall intent, also called black hat hackers or crackers, use automated systems to gain access to your computer, your password protected files, your wireless network or the web sites you visit. Most of these systems are based on lists of passwords, called rainbow tables. The less complex your password is, the easier it will be found in the list. These lists contain millions and millions of entries and are usually several gigabytes in size. More common passwords like 123456 and Passw0rd are at the top and are found super fast. 123456 is the most used password in Hotmail. How did somebody find out? They hacked thouseands and thousands of hotmail addresses and made a list of the most common used passwords. More info can be found here.

A secure USB key

A USB key is a very practical thing for having data available to you everywhere you go. You want to have all kinds of data available to you at all times. Keeping that data safe is another matter. It's all too easy to loose a key or have it stolen from your person. Are you sure that all the data you put in the key is harmless, even when the data it contains is put on the internet for the whole world to see?
This series of articles will show you how I solved this problem.

How do you set up a PC for the kids?

Hardware requirements

A computer to be used by children is at best a dedicated PC. You will not have to worry about protecting your data or other resources. There is simply nothing there for the child to erase or reconfigure. Whatever you do, never, ever let children use a computer you use for work, no matter what their age is. Accidents happen and you will be the only one to blame for allowing it. If necessary, use a USB key or external hard drive to boot from. An 8GB USB key is enough to put the OS and plenty of software on. A key like this is very cheap and certainly a lot cheaper than lost data.

If you use the free and open operating system Linux, you can get away with older hardware. I have recently used a PIII of 700MHz with 384MB of RAM with great success. It ran all the educational software without a hitch and even ran Flash at acceptable speed. This machine is an exception though but in general I can say that any Pentium processor with at least 512MB of RAM is enough to get a more than acceptable speed. This puts the Kids PC in the category of “old PCs too slow for a modern Windows OS”. Many people throw these PCs out the door so you can easily get a PC like this for free if you ask around.


Subscribe to Van Kets Consulting RSS