Top Banner
26

Theming the gap between designer and developpers

Jan 23, 2015

Download

Business

Raphael Schär

In order to make good Drupal themes, designer and developper need to work closely together. My presentation from drupalcamp wien.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
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