I would like to use an iframe to return my booking form in this modal.
Could you advise on how to acheive this?
Thank you
Regards
References
Form:
http://www.quebecguitare.ca/admissions?tmpl=component
Frontend:
http://www.quebecguitare.ca/profs-admin ... oie-lepine
Backend:
http://www.quebecguitare.ca/administrat ... ingDetails
Bootstrap Code:
- Code: Select all
<!-- BOOKING FORM MODAL -->
<!-- Button to trigger modal -->
<a href="#myModal" role="button" class="btn" data-toggle="modal"><i class="fa fa-youtube-play"></i>Launch demo modal</a>
<!-- Modal -->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Modal header</h3>
</div>
<div class="modal-body">
<?php
$video = $this->fields->getFieldById(48);
if( isset($video) ) {
echo '<p />' . $video->getCaption();
echo ': ' . $video->getOutput(1);
}
?>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button class="btn btn-primary">Save changes</button>
</div>
</div>