theming the gap between designer and developpers
DESCRIPTION
In order to make good Drupal themes, designer and developper need to work closely together. My presentation from drupalcamp wien.TRANSCRIPT
<?php
print ‘<img src= “druplicon.png“ />‘;
?>
<?php
print theme(‘image‘, ‘druplicon.png‘);
?>
<?php
function mytheme_image( ){
return ‘<img src=“‘.$path.‘“ class=“my-class“>‘;
}
?>
simplified Version!!!!
<?php
$vars[‘body_class‘] = ‘special‘;
$vars[‘body_id‘] = time();
?>