synchronising Drupal 8 config to a new site

When trying to use the Drupal 8 configuration manager you will get to a point where the config from your developemnt site will not import into the production site because the UUID of both sites is not the same.This safety is built in to avoid importing the configuration froim the completely wrong site screwing up the site completely. So as long as the UUID of both sites is not the same you can not synchronise the config of both versions. So the base question is : how to copy the UUID from one site to another?

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.


Subscribe to Van Kets Consulting RSS