Skip to content

Commit

Permalink
[documentation] discounts page video modal
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsbd71 committed Aug 5, 2015
1 parent 052c88f commit be582b8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,18 @@
</div>
</form>

<?php
echo JHtml::_(
'bootstrap.renderModal',
'videoTutorialModal',
array(
'url' => 'https://www.youtube-nocookie.com/embed/UtDgs00sbhw?list=PL5eH3TQ0wUTZXKs632GyKMzGVkxdfPB4f&amp;showinfo=0',//&amp;autoplay=1
'title' => JText::_('COM_DIGICOM_ABOUT_DISCOUNT_USE_VIDEO'),
'height' => '400px',
'width' => '1280'
)
);
?>
<div class="dg-footer">
<?php echo JText::_('COM_DIGICOM_CREDITS'); ?>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,8 @@ protected function addToolbar()
JToolBarHelper::deleteList(JText::_('COM_DIGICOM_DISCOUNTS_DELETE_CONFIRMATION'),'discounts.delete');
JToolBarHelper::divider();
}

$layout = new JLayoutFile('toolbar.video');
$bar->appendButton('Custom', $layout->render(array()), 'video');
}
}

0 comments on commit be582b8

Please sign in to comment.