public function __construct() { parent::__construct(); BackendMenu::setContext('Feegleweb.OctoshopLite', 'shop', 'products'); $this->addCss($this->assetsPath . '/css/modal-form.css'); $this->addJs($this->assetsPath . '/js/product-form.js'); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->addJs('/plugins/renatio/backupmanager/assets/js/backup.js'); BackendMenu::setContext('Renatio.BackupManager', 'backupmanager', 'backups'); SettingsManager::setContext('Renatio.BackupManager', 'settings'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('October.System', 'system', 'settings'); SettingsManager::setContext('Responsiv.Pay', 'types'); GatewayManager::createPartials(); }
/** * Constructor. */ public function __construct() { parent::__construct(); BackendMenu::setContext('October.Cms', 'cms', true); try { if (!($theme = Theme::getEditTheme())) { throw new ApplicationException(Lang::get('cms::lang.theme.edit.not_found')); } $this->theme = $theme; new TemplateList($this, 'pageList', function () use($theme) { return Page::listInTheme($theme, true); }); new TemplateList($this, 'partialList', function () use($theme) { return Partial::listInTheme($theme, true); }); new TemplateList($this, 'layoutList', function () use($theme) { return Layout::listInTheme($theme, true); }); new TemplateList($this, 'contentList', function () use($theme) { return Content::listInTheme($theme, true); }); new ComponentList($this, 'componentList'); new AssetList($this, 'assetList'); } catch (Exception $ex) { $this->handleError($ex); } }
public function __construct() { parent::__construct(); $this->pageTitle = 'xeor.yandexservicesauth::lang.settings.menu_label'; BackendMenu::setContext('October.System', 'system', 'settings'); SettingsManager::setContext('Xeor.YandexServicesAuth', 'settings'); }
public function __construct() { parent::__construct(); $this->addCss('/modules/system/assets/css/updates.css', 'core'); BackendMenu::setContext('October.System', 'system', 'updates'); SettingsManager::setContext('October.System', 'updates'); }
/** * {@inheritdoc} */ public function __construct() { parent::__construct(); BackendMenu::setContext('Adrenth.Redirect', 'redirect', $this->action); $this->requiredPermissions = ['adrenth.redirect.access_redirects']; $this->vars['match'] = null; }
public function __construct() { parent::__construct(); BackendMenu::setContext('October.System', 'system', 'settings'); SettingsManager::setContext('Responsiv.Currency', 'currencies'); $this->addJs('/plugins/responsiv/currency/assets/js/currency-list.js'); }
/** * Class constructor */ public function __construct() { parent::__construct(); BackendMenu::setContext('October.System', 'system', 'config'); SettingsManager::setContext('KoderHut.TemplateTokens', 'token_config'); $this->addJs('/plugins/koderhut/templatetokens/assets/js/templatetokens.js'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('Bm.Field', 'template', 'template'); $this->addJs('/modules/backend/assets/js/october.treeview.js', 'core'); $this->bodyClass = ''; }
/** * Ensure that by default our edit menu sidebar is active */ public function __construct() { parent::__construct(); BackendMenu::setContext('BenFreke.MenuManager', 'menumanager', 'edit'); // Add my assets $this->addJs('/plugins/benfreke/menumanager/assets/js/benfreke.menumanager.js'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('AWME.Stocket', 'stocket', 'products'); $this->addCss($this->assetsPath . '/css/modal-form.css'); $this->addJs($this->assetsPath . '/js/product-form.js'); }
public function __construct() { parent::__construct(); $this->addJs('/plugins/stone/testimonials/assets/js/testimonial.js'); $this->addCss('/plugins/stone/testimonials/assets/css/testimonial.css'); BackendMenu::setContext('Stone.Testimonials', 'testimonials', 'testimonial'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('RAFIE.ContactForm', 'contactform', 'forms'); $this->addCss('/plugins/rafie/contactform/assets/css/backend_formcontrol.css'); $this->addJs('/plugins/rafie/contactform/assets/js/backend_formcontrol.js'); }
public function __construct() { parent::__construct(); // BackendMenu::setContext('CheerfulLab.Frontendspelling', 'frontendspelling', 'spellingrequests'); BackendMenu::setContext('CheerfulLab.FrontendSpelling', 'spelling', 'requests'); // BackendMenu::setContext('RainLab.Blog', 'blog', 'posts'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('October.System', 'system', 'settings'); SettingsManager::setContext('RainLab.Translate', 'locales'); $this->addJs('/plugins/rainlab/translate/assets/js/locales.js'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('Leancode.Campaign', 'campaign', 'lists'); // $sql = "insert INTO leancode_campaign_failed_deliveries SET email = 'abc' "; // $results = DB::statement( DB::raw($sql) ); }
/** * Discounts Constructor */ public function __construct() { parent::__construct(); BackendMenu::setContext('Bedard.Shop', 'shop', 'discounts'); $this->addCss('/plugins/bedard/shop/assets/css/backend.css'); $this->addCss('/plugins/bedard/shop/assets/css/tooltip.css'); }
/** * Constructor. */ public function __construct() { parent::__construct(); BackendMenu::setContext('RainLab.Pages', 'pages', 'pages'); try { if (!($this->theme = Theme::getEditTheme())) { throw new ApplicationException(Lang::get('cms::lang.theme.edit.not_found')); } new PageList($this, 'pageList'); new MenuList($this, 'menuList'); new SnippetList($this, 'snippetList'); $theme = $this->theme; new TemplateList($this, 'contentList', function () use($theme) { return Content::listInTheme($theme, true); }); } catch (Exception $ex) { $this->handleError($ex); } $this->addJs('/modules/backend/assets/js/october.treeview.js', 'core'); $this->addJs('/plugins/rainlab/pages/assets/js/pages-page.js'); $this->addJs('/plugins/rainlab/pages/assets/js/pages-snippets.js'); $this->addCss('/plugins/rainlab/pages/assets/css/pages.css'); // Preload the code editor class as it could be needed // before it loads dynamically. $this->addJs('/modules/backend/formwidgets/codeeditor/assets/js/codeeditor.js', 'core'); $this->bodyClass = 'compact-container side-panel-not-fixed'; $this->pageTitle = 'rainlab.pages::lang.plugin.name'; $this->pageTitleTemplate = '%s Pages'; }
public function __construct() { parent::__construct(); BackendMenu::setContext('OctoDevel.OctoMail', 'octomail', 'templates'); $this->addCss('/plugins/octodevel/octomail/assets/css/octodevel.octomail-form.css'); $this->addJs('/plugins/octodevel/octomail/assets/js/octodevel.octomail-form.js'); }
/** * Constructor. */ public function __construct() { parent::__construct(); BackendMenu::setContext('October.Cms', 'media', true); $this->pageTitle = 'cms::lang.media.menu_label'; $manager = new MediaManager($this, 'manager'); $manager->bindToController(); }
/** * Constructor. */ public function __construct() { parent::__construct(); BackendMenu::setContextOwner('October.Backend'); if (BackendAuth::check()) { new ReportContainer($this); } }
/** * Constructor. */ public function __construct() { parent::__construct(); $this->addCss('/modules/cms/assets/css/october.theme-selector.css', 'core'); $this->pageTitle = 'cms::lang.theme.settings_menu'; BackendMenu::setContext('October.System', 'system', 'settings'); SettingsManager::setContext('October.Cms', 'theme'); }
public function __construct() { if (post('comment_mode')) { $this->formConfig = 'config_comment_form.yaml'; } parent::__construct(); BackendMenu::setContext('October.Test', 'test', 'posts'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('JorgeAndrade.Subscribe', 'subscribe', 'subscribers'); $this->addJs('/plugins/jorgeandrade/subscribe/assets/javascript/tableExport.js'); $this->addJs('/plugins/jorgeandrade/subscribe/assets/javascript/jquery.base64.js'); $this->addJs('/plugins/jorgeandrade/subscribe/assets/javascript/subscribe-backend-scripts.js'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('JorgeAndrade.Events', 'events', 'events'); $this->addJs('http://maps.google.com/maps/api/js?sensor=false&language=en'); $this->addJs('/plugins/jorgeandrade/events/assets/js/gmap3.min.js'); $this->addJs('/plugins/jorgeandrade/events/assets/js/events.location.js'); }
public function __construct() { if (post('ticket_mode')) { $this->formConfig = 'config_ticket_form.yaml'; } parent::__construct(); BackendMenu::setContext('Beysong.Events', 'events', 'events'); }
public function __construct() { parent::__construct(); $this->pageTitle = 'Txt Settings'; $this->instance = new SettingsController(); $this->instance->update("mohsin", "txt", "settings"); BackendMenu::setContext('Mohsin.Txt', 'txt', 'settings'); }
public function __construct() { parent::__construct(); BackendMenu::setContext('October.System', 'system', 'settings'); SettingsManager::setContext('RainLab.Sitemap', 'definitions'); $this->addJs('/modules/backend/assets/js/october.treeview.js', 'core'); $this->addJs('/plugins/rainlab/sitemap/assets/js/sitemap-definitions.js'); }
/** * Products Constructor */ public function __construct() { parent::__construct(); BackendMenu::setContext('Bedard.Shop', 'shop', 'customers'); $this->addCss('/plugins/bedard/shop/assets/css/backend.css'); // Load currency $this->vars['currency'] = PaySettings::get('currency_symbol'); }