Through the use of ctools, i’m able to show a type in modal window. Now i want to show a web page(Drupal Developer profile web page) in modal window.
Beneath is Drupal Developer pattern code (name by menu web page callback) to show a html content material in modal window, however methods to show a web page (person/1/profile) , i do know i virtually there..
any concepts?
perform mymodule_profile_modal( $person,$js) { $output = t('<p>Lorem ipsum dolor sit amet...</p>'); $title = t('Modal instance'); if ($js) { ctools_include('ajax'); ctools_include('modal'); ctools_modal_render($title, $output); // above command will exit(). } }