I have tried adding a smoothie chart to a drupal "basic page" using drupal_add_js() the start and end are just to show me that the code was being parsed.
there is obviously an error as the two delimiter words (start,end) do not show.
start <br /b>
<?php
drupal_add_js('<script type="text/javascript" src="/var/www/drupal/misc/smoothie.js"></script>','inline');
<canvas id="mycanvas" width="400" height="100"></canvas>
drupal_add_js('/var/www/drupal/misc/frostygraph.js','inline');
?>
end
Any clues on how to accomplish this?