open20 / amos-core
Amos Core
Installs: 235
Dependents: 90
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 4
Open Issues: 0
Type:component
Requires
- php: >=5.4.0
- 2amigos/yii2-google-maps-library: ^1.0.2
- 2amigos/yii2-tinymce-widget: ~1.1
- bower-asset/bootstrap-tour: *
- bower-asset/fullcalendar: ^3.9.0
- bower-asset/jquery-ui-touch-punch-improved: *
- brussens/yii2-maintenance-mode: *
- cornernote/yii2-workflow-manager: *
- creocoder/yii2-flysystem: *
- creocoder/yii2-taggable: ~2.0
- google/apiclient: ^2.0
- kartik-v/yii2-datecontrol: ^1.9.5
- kartik-v/yii2-export: ^1.3.0
- kartik-v/yii2-grid: ^3.5.0
- kartik-v/yii2-icons: *
- kartik-v/yii2-money: *
- kartik-v/yii2-mpdf: *
- kartik-v/yii2-number: *
- kartik-v/yii2-social: *
- kartik-v/yii2-widget-select2: ^2.0.8
- kv4nt/yii2-owl-carousel2: *
- lajax/yii2-translate-manager: 1.*
- league/flysystem-aws-s3-v3: *
- mdmsoft/yii2-admin: ~2.0
- nizsheanez/yii2-asset-converter: ^1.3.0
- npm-asset/tinymce-mention: ^4.0
- open20/amos-attachments: ^1.7.0
- open20/amos-audit: >=1.0
- open20/amos-layout: >=1.2
- open20/amos-utility: ^1.6.0
- open20/yii2-less.php: ~1.0.0
- philippfrenzel/yii2fullcalendar: ^3.9.0
- raoul2000/yii2-workflow: *
- raoul2000/yii2-workflow-view: *
- schmunk42/yii2-giiant: *
- tinymce/tinymce: ~4.9.3
- yii2tech/spreadsheet: ^1.0.5
- yiidoc/yii2-redactor: *
- yiimaker/yii2-social-share: ^2.3.2
- yiisoft/yii2: ^2.0.40
- yiisoft/yii2-bootstrap: *
- yiisoft/yii2-swiftmailer: *
- dev-master
- 1.34.11
- 1.34.10
- 1.34.9
- 1.34.8
- 1.34.7
- 1.34.6
- 1.34.5
- 1.34.4
- 1.34.3
- 1.34.2
- 1.34.1
- 1.34.0
- 1.33.3
- 1.33.2
- 1.33.1
- 1.32.0
- 1.28.1
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.1
- 1.25.0
- 1.24.4
- 1.24.3
- 1.24.2
- 1.24.1
- 1.24.0
- 1.23.5
- 1.23.4
- 1.23.3
- 1.23.2
- 1.23.1
- 1.23.0
- 1.22.4
- 1.22.3
- 1.22.2
- 1.22.1
- 1.22.0
- 1.21.2
- 1.21.1
- 1.21.0
- 1.20.9
- 1.20.8
- 1.20.7
- 1.20.6
- 1.20.5
- 1.20.4
- 1.20.3
- 1.20.2
- 1.20.1
- 1.20.0
- 1.19.3
- 1.19.2
- 1.19.1
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.1
- 1.16.0
- 1.15.1
- 1.15.0
- 1.14.0
- 1.11.0
- 1.9.59
- 1.9.58
- 1.9.57
- dev-releases/1.34.11
- dev-releases/1.34.10
- dev-releases/1.34.9
- dev-releases/1.34.8
- dev-releases/1.34.7
- dev-releases/1.34.6
- dev-releases/1.34.5
- dev-releases/1.34.4
- dev-releases/1.34.3
- dev-releases/1.34.2
- dev-releases/1.34.1
- dev-releases/1.34.0
- dev-releases/1.33.3
- dev-releases/1.33.2
- dev-releases/1.33.1
- dev-releases/1.32.0
- dev-releases/1.28.1
- dev-releases/1.28.0
- dev-releases/1.27.0
- dev-releases/1.26.0
- dev-releases/1.25.1
- dev-releases/1.25.0
- dev-releases/1.24.4
- dev-releases/1.24.3
- dev-releases/1.24.2
- dev-releases/1.24.1
- dev-releases/1.24.0
- dev-releases/1.23.5
- dev-releases/1.23.4
- dev-releases/1.23.3
- dev-releases/1.23.2
- dev-releases/1.23.1
- dev-releases/1.23.0
- dev-releases/1.22.4
- dev-releases/1.22.3
- dev-releases/1.22.2
- dev-releases/1.22.1
- dev-releases/1.22.0
- dev-releases/1.21.2
- dev-releases/1.21.1
- dev-releases/1.21.0
- dev-releases/1.20.9
- dev-releases/1.20.8
- dev-releases/1.20.7
- dev-releases/1.20.6
- dev-releases/1.20.5
- dev-releases/1.20.4
- dev-releases/1.20.3
- dev-releases/1.20.2
- dev-releases/1.20.1
- dev-releases/1.20.0
- dev-releases/1.19.3
- dev-releases/1.19.2
- dev-releases/1.19.1
- dev-releases/1.19.0
- dev-releases/1.18.0
- dev-releases/1.17.0
- dev-releases/1.16.1
- dev-releases/1.16.0
This package is auto-updated.
Last update: 2024-10-29 10:49:03 UTC
README
Amos core
using the loader (SpinnerWaitAsset)
in the view insert che code below
\open20\amos\layout\assets\SpinnerWaitAsset::register($this); <div class="loading" id="loader" hidden></div>
use the two javascript functions below where you need it
$('.loading').show(); $('.loading').hide();
Platform params
hideSettings
Hide the setting gear in the navbar, If you want to hide the link for all
'hideSettings' => true,
if you want to hide the link for some users
'hideSettings' => [ 'roles' => ['ROLE1', 'ROLE2'] ],
if you want to export only the element visualized in the grid
'disableExportAll' => true
Widget share social
Add in backend/config/components-others
'socialShare' => [ 'class' => \open20\amos\core\components\ConfiguratorSocialShare::class, ],
Parameters
- mode - string, default = SocialShareWidget::NORMAL, the otther mode is SocialShareWidget::DROPDOWN
example of usage:
<?= \open20\amos\core\forms\editors\socialShareWidget\SocialShareWidget::widget([ 'configuratorId' => 'socialShare', 'model' => $model, 'url' => \yii\helpers\Url::to(\Yii::$app->params['platform']['backendUrl'].'/news/news/view?id='.$model->id, true), 'title' => $model->title, 'description' => $model->descrizione_breve, // 'imageUrl' => \yii\helpers\Url::to('absolute/route/to/image.png', true), ]); ?>
Custom the Frontend View Url
- Implement the interface CustomUrlModelInterface
- Add in common/config/params
'urlFrontend' => [ 'NewsModel' => '/news/news/{Id}/{Slug}', ],
Platform Parameters
- enablePageCache - boolean; If the params is true enable the page cache