+ All Categories
Home > Business > Theming the gap between designer and developpers

Theming the gap between designer and developpers

Date post: 23-Jan-2015
Category:
Upload: raphael-schaer
View: 455 times
Download: 1 times
Share this document with a friend
Description:
In order to make good Drupal themes, designer and developper need to work closely together. My presentation from drupalcamp wien.
26
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

Recommended