addScript($plg_path . '/assets/js/jquery.ui.core.min.js'); // $doc->addScript($plg_path . '/assets/js/jquery.ui.sortable.min.js'); $plg_path = JURI::root(true) . '/plugins/system/helix3'; $doc->addScript($plg_path . '/assets/js/jquery-ui.min.js'); $doc->addScript($plg_path . '/assets/js/spgallery.js'); $doc->addStyleSheet($plg_path . '/assets/css/spgallery.css'); $values = json_decode($this->value); if($values) { $images = $this->element['name'] . '_images'; $values = $values->$images; } else { $values = array(); } $output = ''; return $output; } }