Example #1
0
 public function loadAssets()
 {
     parent::loadAssets();
     $this->config->find('specific._input_allowed', 0) && $this->app->document->addScript('zlfw:assets/js/jquery.plugins/jquery.alphanumeric.min.js');
     $this->config->find('specific._input_limit', 0) && $this->app->document->addScript('zlfw:assets/js/jquery.plugins/jquery.inputlimiter.min.js');
     $this->app->document->addScript('elements:textpro/textpro.js');
     return $this;
 }
Example #2
0
 public function loadAssets()
 {
     parent::loadAssets();
     // load ZLUX assets
     $this->app->zlfw->zlux->loadMainAssets();
     // load the FilesPro js
     $this->app->document->addScript('elements:filespro/filespro.js');
 }
Example #3
0
 public function loadAssets()
 {
     parent::loadAssets();
     // ZLUX
     $this->app->zlfw->zlux->loadMainAssets(true);
     // element assets
     $this->app->document->addScript('zlfw:assets/js/accounting.min.js');
     $this->app->document->addScript('elements:repeatablepro/repeatablepro.js');
     $this->app->document->addStylesheet('elements:variations/assets/css/style.css');
     $this->app->document->addScript('elements:pricepro/assets/js/price.js');
     $this->app->document->addScript('elements:variations/assets/js/script.js');
     return $this;
 }
Example #4
0
 public function loadAssets($params = array())
 {
     parent::loadAssets();
     $params = $this->app->data->create($params);
     $trusted = $params->get('trusted_mode', true);
     $editor = $this->config->find('specific._editor');
     $doc = $this->app->document;
     if ($editor != 'joomlaeditor') {
         $doc->addScript('elements:textareapro/assets/js/textareapro.min.js');
         if ($editor == 'customeditor' && $trusted) {
             if ($this->app->joomla->isVersion('2.5')) {
                 $doc->addScript('elements:textareapro/assets/js/jquery.tinymce_3.js');
             } else {
                 $doc->addScript('elements:textareapro/assets/js/jquery.tinymce_4.js');
             }
         }
         if ($this->config->find('specific._input_limit', 0) && $editor != 'customeditor') {
             $doc->addScript('zlfw:assets/js/jquery.plugins/jquery.inputlimiter.min.js');
         }
     }
     if ($editor == 'joomlaeditor' && $this->config->get('repeatable')) {
         $doc->addScript('elements:textareapro/assets/js/textareayoo.js');
     }
     $doc->addStylesheet('elements:textareapro/assets/css/textareapro.css');
     return $this;
 }
Example #5
0
 public function loadAssets()
 {
     parent::loadAssets();
     $this->app->zlfw->zlux->loadMainAssets(true);
     $this->app->document->addScript('elements:pricepro/assets/js/price.js');
     $this->app->document->addScript('zlfw:assets/js/accounting.min.js');
     $this->app->document->addStylesheet('elements:pricepro/assets/css/price-admin.css');
     return $this;
 }
Example #6
0
 public function loadAssets()
 {
     parent::loadAssets();
     $this->app->zlfw->zlux->loadMainAssets(true);
     $this->app->document->addScript('zlfw:assets/js/accounting.min.js');
     $this->app->document->addScript('elements:measurespro/measurespro.js');
     return $this;
 }