theming the gap between designer and developpers

26

Upload: raphael-schaer

Post on 23-Jan-2015

454 views

Category:

Business


1 download

DESCRIPTION

In order to make good Drupal themes, designer and developper need to work closely together. My presentation from drupalcamp wien.

TRANSCRIPT

Page 1: Theming   the gap between designer and developpers
Page 2: Theming   the gap between designer and developpers
Page 3: Theming   the gap between designer and developpers
Page 4: Theming   the gap between designer and developpers
Page 5: Theming   the gap between designer and developpers
Page 6: Theming   the gap between designer and developpers
Page 7: Theming   the gap between designer and developpers
Page 8: Theming   the gap between designer and developpers
Page 9: Theming   the gap between designer and developpers
Page 10: Theming   the gap between designer and developpers
Page 11: Theming   the gap between designer and developpers
Page 12: Theming   the gap between designer and developpers
Page 13: Theming   the gap between designer and developpers
Page 14: Theming   the gap between designer and developpers
Page 15: Theming   the gap between designer and developpers

<?php

print ‘<img src= “druplicon.png“ />‘;

?>

<?php

print theme(‘image‘, ‘druplicon.png‘);

?>

Page 16: Theming   the gap between designer and developpers
Page 17: Theming   the gap between designer and developpers

<?php

function mytheme_image( ){

return ‘<img src=“‘.$path.‘“ class=“my-class“>‘;

}

?>

simplified Version!!!!

Page 18: Theming   the gap between designer and developpers
Page 19: Theming   the gap between designer and developpers
Page 21: Theming   the gap between designer and developpers

<?php

$vars[‘body_class‘] = ‘special‘;

$vars[‘body_id‘] = time();

?>

Page 22: Theming   the gap between designer and developpers
Page 23: Theming   the gap between designer and developpers
Page 24: Theming   the gap between designer and developpers
Page 26: Theming   the gap between designer and developpers