Exemplo n.º 1
0
 /**
  * Displays a layout file
  *
  * @param unknown_type $tpl
  * @return unknown_type
  */
 function display($tpl = null)
 {
     //including core JS because it needs to be included in modals and since we have so many including here keeps that from failing.
     JHTML::_('behavior.modal');
     JHTML::_('script', 'core.js', 'media/system/js/');
     DSC::loadBootstrap();
     DSC::loadJQuery('latest', true, 'tiendaJQ');
     JHTML::_('stylesheet', 'common.css', 'media/dioscouri/css/');
     parent::display($tpl);
 }
Exemplo n.º 2
0
 /**
  * Displays a layout file
  *
  * @param unknown_type $tpl
  * @return unknown_type
  */
 function display($tpl = null)
 {
     $doc = JFactory::getDocument();
     //including core JS because it needs to be included in modals and since we have so many including here keeps that from failing.
     JHTML::_('behavior.modal');
     JHtml::_('script', 'media/system/js/core.js', false, false);
     JHtml::_('script', 'media/citruscart/js/citruscart.js', false, false);
     //DSC::loadBootstrap();
     DSC::loadJQuery('latest', true, 'citruscartJQ');
     JHtml::_('stylesheet', 'media/citruscart/css/common.css');
     parent::display($tpl);
 }