<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt; color: #000000"><div>Hi Folks,</div><div><br></div><div>I've added JavaScript/AJAX to a node display which is managed by Display Suite.&nbsp; Consequently, I've added:</div><div style="padding-left: 30px;"><br>drupal_add_library('system', 'drupal.ajax');<br>drupal_add_js(drupal_get_path('module', 'music_display') . '/music_display.js');</div><div><br>to ds-2col-fluid--node-music.tpl.php&nbsp; This works well because the JavaScript is only loaded for this content-type, but it <u><strong>only</strong></u> works because I sub-themed Bartik on this development site.&nbsp; On the production site, I don't know what theme the designers will use, so I want to move these two line to a module.<br><div><br></div>How do I create the same qualification, meaning make the above two calls only in the case where Drupal, in the guise of Display Suite, is displaying the "Music" node?</div><div><br></div><div><span name="x"></span>Chris.<br></div></div></body></html>