Skip to content

Instantly share code, notes, and snippets.

@sobi3ch
Created July 12, 2013 11:51
Show Gist options
  • Save sobi3ch/5983895 to your computer and use it in GitHub Desktop.
Save sobi3ch/5983895 to your computer and use it in GitHub Desktop.
ATD render node in ligthbox
<?php
/**
* Render ATD node context inside lightbox.
*/
function l_lightbox($nid, $text) {
return l($text, '/lightbo/'. $nid, array('attributes' => array('class' => 'lightbox', 'rel'=> 'libghtframe')) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment